Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 76
Default Disable items on ribbon using VBA

Hello again

How do I enable or disable a button or group on the ribbon using VBA.
(Are there any decent web sites that reference this). An example would be
the "Unprotect Sheet" button on the "Review" tab.

and the same for the menu item - "Home", "Format", "Unprotect Sheet"

I have a list of all the PolicyID's but am unable to make it happen.

Help Please
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Disable items on ribbon using VBA

Hi Cresta

See point 2 for only RibbonX

See point 3 for a example file to do it with VBA

on this page
http://www.rondebruin.nl/ribbon.htm



--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"Cresta" wrote in message ...
Hello again

How do I enable or disable a button or group on the ribbon using VBA.
(Are there any decent web sites that reference this). An example would be
the "Unprotect Sheet" button on the "Review" tab.

and the same for the menu item - "Home", "Format", "Unprotect Sheet"

I have a list of all the PolicyID's but am unable to make it happen.

Help Please

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 76
Default Disable items on ribbon using VBA

Excellent thank you.

"Ron de Bruin" wrote:

Hi Cresta

See point 2 for only RibbonX

See point 3 for a example file to do it with VBA

on this page
http://www.rondebruin.nl/ribbon.htm



--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"Cresta" wrote in message ...
Hello again

How do I enable or disable a button or group on the ribbon using VBA.
(Are there any decent web sites that reference this). An example would be
the "Unprotect Sheet" button on the "Review" tab.

and the same for the menu item - "Home", "Format", "Unprotect Sheet"

I have a list of all the PolicyID's but am unable to make it happen.

Help Please


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
Adding Items at runtime in the Ribbon ComboBox Markus Ohnmacht[_2_] Excel Programming 3 December 22nd 08 03:55 PM
merging an excel 2007 ribbon items into exisitng classic excel too Haim[_3_] Excel Programming 0 May 12th 08 08:50 PM
Change image for Ribbon items Michael Koerner Excel Programming 5 April 15th 07 12:46 PM
Is is possible to disable certain menu items Buster Excel Programming 1 November 19th 04 08:11 AM
Disable menu items with VBA jst_se Excel Programming 1 July 22nd 04 08:25 PM


All times are GMT +1. The time now is 01:50 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"