Toggle Button in Ribbon to Hide/Show Built-in Tabs

D

Don

I have consulted several developer sites in the hopes of being able to
create this toggle button. I'm trying to follow this post:

(http://msdn2.microsoft.com/en-us/library/bb421511.aspx)

explicitly, but I'm geting several errors in the VBE before I can even
test the code. It looks like VB doesn't expect

"Private showViewTabBool As Boolean = False"

to assign a value to the variable. I get an error "Expected end of
statement" at the "=". The call "myRibbon.Invalidate()" expects to be
equal to something and has syntax error with the parentheses. PLEASE
HELP. I have created the rest of my ribbon and can't get the ribbon
to update on command.
 

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