Object doesn't support this property |
Post Reply |
Author | |
Biox
Groupie Joined: 14 September 2009 Status: Offline Points: 17 |
Post Options
Thanks(0)
Posted: 14 September 2009 at 9:53pm |
Tried to find as reason for this but hit a blank, appreciate any help.
I have recompiled an app in v12 instead of v11.2 and get the above error on line 200. (Object doesn't support this property) 190 Set PopupBar = CommandBars.CreateCommandBar("CXTPRibbonSystemPopupBarPage") 200 Set Control.CommandBar = PopupBar thanks in advance |
|
SuperMario
Admin Group Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
|
Do you have this?
Dim PopupBar As CommandBar |
|
Biox
Groupie Joined: 14 September 2009 Status: Offline Points: 17 |
Post Options
Thanks(0)
|
Thanks for the reply, yes I do have that.
|
|
SuperMario
Admin Group Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
|
Can you post all the code you use to create the ribbon before the lines you posted?
I am sure this will work with newer version. Dim PopupBar As CommandBar So something like: Dim PopupBar As CommandBar, ControlPrint As CommandBarPopup Set ControlPrint = .Add(xtpControlSplitButtonPopup, ID_FILE_PRINT, "&Print") Set PopupBar = CommandBars.CreateCommandBar("CXTPRibbonSystemPopupBarPage") Set ControlPrint.CommandBar = PopupBar |
|
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 |