Late binding code for creating a command bar object

X

XP

Using Office 2003 and Windows XP;

I need example code for late binding to create a command bar object.

e.g. I know it would be something like:

Dim oCmdBar as Object
Dim oCmdBars as Object
Set oCmdBar = VBA.CreateObject("Commandbar")
Set oCmdBars = VBA.CreateObject("Commandbars")

Can someone please help me out with the appropriate syntax?

Thanks much in advance...
 

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