Referencing a commandbar |
Post Reply |
Author | |
PhilJeary
Newbie Joined: 16 March 2004 Location: United Kingdom Status: Offline Points: 17 |
Post Options
Thanks(0)
Posted: 30 August 2006 at 5:12am |
Hi, slightly simpler version of my previous post....
How do you reference a commandbar you have already created?
i.e.
Dim Popup As CommandBar
I create the commandbar using
Set Popup = CommandBars.Add("Standard", xtpBarPopup)
In another function, what do I set Popup to so it references "Standard" again?
Regards,
Phil
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hello, if xtpBarPopup used, Add method don't actually add it to _toolbars_ collection and Popup will be destroyed after function exit.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |