Late Binding IRibbonUI

S

S.W.

Set ObjectVariable = CreateObject("Office.IRibbonUI") doesn't work. (Error
429). Is there a workaround to accomplish late binding in VBA? Is there
perhaps a VSTO approach that is necessary?
 
P

Patrick Schmid [MVP]

What are you trying to do? IRibonUI is an object that will be passed to
you from a ribbon callback (the onLoad callback of the customUI tag).
Any sort of binding or object creation doesn't work with the ribbon.

Patrick Schmid [OneNote MVP]
--------------
http://pschmid.net
***
Outlook 2007 Performance Update: http://pschmid.net/blog/2007/04/13/105
Office 2007 RTM Issues: http://pschmid.net/blog/2006/11/13/80
***
Customize Office 2007: http://pschmid.net/office2007/customize
RibbonCustomizer Add-In: http://ribboncustomizer.com
OneNote 2007: http://pschmid.net/office2007/onenote
***
Subscribe to my Office 2007 blog: http://pschmid.net/blog/feed
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top