Re: Orientation of custom toolbar

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Jim Gordon MVP (goldkey74_at_WarmerThanWarmMail.com)
Date: 02/25/05


Date: Thu, 24 Feb 2005 21:14:57 -0500

Hi Eric,

Try setting the toolbar's height and width. Something like this should
work:

Set MyBar = CommandBars("TheToolbarsName")
MyBar.Position = msoBarTop
With MyBar
         .Height = 31
         .Width = 175
         .Top = 90
         .Left = 225
         .Visible = True
End With

-- 
Jim Gordon
Mac MVP
MVP FAQ
<http://mvp.support.microsoft.com/default.aspx?scid=fh;EN-US;mvpfaqs>
ecrichlow@gtcocalcomp.com wrote:
>     I have created my own toolbar for PowerPoint. Works beautifully.
> 
>     One problem.
> 
>     When I run my VBA code manually, I get a nice, horizontal toolbar.
> But when I save my code as a PowerPoint Add-In, install it and have it
> run automatically, the toolbar comes up vertically, in the middle of
> the screen, which is a really inconvenient place for it to be.
> 
>     Is there some way I can force the toolbar to start up horizontally,
> positioned next to or directly below the PowerPoint toolbar?
> 
> ...Thanx...
> ...Eric...
> 


Relevant Pages

  • Re: Orientation of custom toolbar
    ... > I have created my own toolbar for PowerPoint. ... > When I run my VBA code manually, I get a nice, horizontal toolbar. ... Steve Rindsberg, PPT MVP ...
    (microsoft.public.mac.office.powerpoint)
  • Re: Unexpected add-in toolbar behavior
    ... If the toolbar is created each time PowerPoint starts, ... re-created each time PowerPoint starts (despite my having included an Exit ... Sub for an error indicating that the toolbar already exists). ... Dim oButton As CommandBarButton ...
    (microsoft.public.powerpoint)
  • Re: Unexpected add-in toolbar behavior
    ... It seems to me that the strategy of having the toolbar created by the add-in ... re-created each time PowerPoint starts (despite my having included an Exit ... Sub for an error indicating that the toolbar already exists). ...
    (microsoft.public.powerpoint)
  • Re: PowerPoint 2003 "Compare and Merge" always says "merging..." i
    ... Bizarre - because it is there on my reviewing toolbar in 2003. ... able to just click on the End Review entry to add it. ... Author of Kathy Jacobs on PowerPoint - Available now from Holy Macro! ... > describes the "End Review" feature on the "Reviewing Toolbar". ...
    (microsoft.public.powerpoint)
  • Re: images jerk or stutter
    ... PowerPoint 2007 Complete Makeover Kit http://tinyurl.com/32a7nx ... it does sound to me like a toolbar is opening and that is shifting the position of everything else in the window. ... The images jump about every 30 to 90 seconds and they ... "Lucy Thomson" wrote: ...
    (microsoft.public.powerpoint)