![]() |
|
Post Reply
|
| Author | |
Biox
Groupie
Joined: 14 September 2009 Status: Offline Points: 17 |
Post Options
Thanks(0)
Quote Reply
Topic: Object doesn't support this propertyPosted: 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
Senior Member
Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
Quote Reply
Posted: 16 September 2009 at 10:34am |
|
Do you have this?
Dim PopupBar As CommandBar |
|
![]() |
|
Biox
Groupie
Joined: 14 September 2009 Status: Offline Points: 17 |
Post Options
Thanks(0)
Quote Reply
Posted: 16 September 2009 at 7:43pm |
|
Thanks for the reply, yes I do have that.
|
|
![]() |
|
SuperMario
Senior Member
Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
Quote Reply
Posted: 17 September 2009 at 1:34pm |
|
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 |