Re: Orientation of custom toolbar
From: Jim Gordon MVP (goldkey74_at_WarmerThanWarmMail.com)
Date: 02/25/05
- Next message: shelley36_at_mac.com: "screen disapears"
- Previous message: Steve Rindsberg: "Re: Orientation of custom toolbar"
- In reply to: ecrichlow_at_gtcocalcomp.com: "Orientation of custom toolbar"
- Messages sorted by: [ date ] [ thread ]
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... >
- Next message: shelley36_at_mac.com: "screen disapears"
- Previous message: Steve Rindsberg: "Re: Orientation of custom toolbar"
- In reply to: ecrichlow_at_gtcocalcomp.com: "Orientation of custom toolbar"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|