Trying to create a Popup Commandbar

Joined
Nov 5, 2007
Messages
2
Reaction score
0
I'm trying to create a popup commandbar. I've created standard commandbars before. This is what I've tried so far...

Dim TBar As CommandBarPopup
Set TBar = Application.CommandBars.Add("Test 2", msoBarPopup, True, True)



When running the sub, I always get an error msg highlighting the "Set" line.

What am I doing wrong?
 

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