Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 20
Default Toggle Button in Ribbon to Hide/Show Built-in Tabs

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.
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
using a toggle button to show or hide information in several cells hanson Excel Worksheet Functions 3 December 7th 07 10:16 PM
toolbar/ribbon hide/show macro barrowhill Excel Programming 2 July 26th 07 07:56 PM
[Office 2007] Auto-hide ribbon toggle button and control recent do Yishion Excel Programming 2 June 4th 07 08:27 PM
Can value at A1 toggle hide/show of row 2? kj Excel Programming 2 February 16th 05 04:22 AM
Toggle Hide/Show Peter Atherton[_29_] Excel Programming 0 January 29th 04 06:51 PM


All times are GMT +1. The time now is 05:30 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"