Results 1 to 3 of 3
  1. #1
    4 Star Lounger
    Join Date
    Dec 2003
    Location
    Zoetermeer, Zuid-Holland, Netherlands
    Posts
    559
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Show Toolbar at start of Powerpoint presentation (Powerpoint 2003 NL)

    In a Powerpoint template (Jan.pot) I have created a toolbar with just one button, to execute a macro. If the toolbar is shown, the button and code behind it just work fine. What I would like is a way to show that toolbar when a presentation based on this template is created or opened. And to hide the toolbar when another presentation is created or opened. I thought this could be accomplished by creating Public Subs Auto_New, Auto_Open and Auto_Close in a standard VBA module, toggling the visibility: Application.CommandBars("Jan").Visible = True/False
    But these Auto_xx subs don't seem to get triggered at all. I searched the Lounge, but didn't find anything to resolve my problem. Any idea's?

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

    Re: Show Toolbar at start of Powerpoint presentation (Powerpoint 2003 NL)

    PowerPoint is much more limited than Word or Excel in this respect. See How can I get my code to run automatically when a presentation opens?; the parent site The PowerPoint FAQ List contains lots of other useful info.

  3. #3
    4 Star Lounger
    Join Date
    Dec 2003
    Location
    Zoetermeer, Zuid-Holland, Netherlands
    Posts
    559
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Show Toolbar at start of Powerpoint presentation (Powerpoint 2003 NL)

    Thanks Hans.

Posting Permissions

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