Results 1 to 6 of 6
  1. #1
    3 Star Lounger
    Join Date
    Nov 2001
    Posts
    342
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Remove VBA Project (2000)

    I deleted all macros in my presentation. When I open my presentation, however, I still get the "ZZZ.ppt contains macros" dialogue box.

    When I hit Alt-F11 I still have a VBA project with screen objects and modules, although all are empty.

    How can I get rid of these empty modules and objects so that I don't get that "contains macros" dialogue?

    Thanks in advance!

  2. #2
    3 Star Lounger
    Join Date
    Nov 2001
    Posts
    342
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Remove VBA Project (2000)

    BTW I tried to right-click and select 'remove' but 'remove' is greyed out.

    Thanks again.

  3. #3
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Remove VBA Project (2000)

    I don't think I've ever seen Remove grayed out. Though it sounds paradoxical, perhaps, put something into the code modules, like Option Explicit and see if that bring them back to life.

  4. #4
    3 Star Lounger
    Join Date
    Nov 2001
    Posts
    342
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Remove VBA Project (2000)

    Thanks for your input, jescher, but it's still greyed out.

    I've attached a screen grab to prove it actually does happen!

    Cheers.

  5. #5
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Remove VBA Project (2000)

    The objects you see in the Project Explorer are slides in the presentation; you cannot remove those without removing the slides themselves. If you don't have code, these slides may contain ActiveX controls, or have contained them in the past. ActiveX controls will cause the "contains macros" warning too, since they are potentially unsafe.
    If one or more of your slides contains an ActiveX control, you will have to live with the macro warning. If there once was an ActiveX control, but not any more, you should delete and re-create the slide(s) involved.
    See Macro security warning when no macros are present

  6. #6
    3 Star Lounger
    Join Date
    Nov 2001
    Posts
    342
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Remove VBA Project (2000)

    Hans,
    Thanks for your comments. Interesting however that the quick menu displays "Remove Slide 1" greyed out, if it can't be removed anyway. Not to worry, I did have an empty module which I eventually removed, as the greyed out remove option somehow became enabled!
    So in short, the PPT is now working as it should, so thanks again.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •