|
-
May 9th, 2003, 11:33 AM
#1
Thread Starter
Fanatic Member
Toolbar Question (Self Resolved)
I have a custom toolbar I design in Excel. It has 1 Menu button on it with many buttons within that1 menu button. How would I ghost out 1 of those buttons that are underneith that menu button?
Last edited by Avatarp; May 9th, 2003 at 02:04 PM.
-
May 9th, 2003, 01:42 PM
#2
Set the .ENABLED to FALSE.
You're welcome to rate this post!
If your problem is solved, please use the Mark thread as resolved button
Wait, I'm too old to hurry!
-
May 9th, 2003, 01:53 PM
#3
Thread Starter
Fanatic Member
This is the proper answer for those how find this post
Code:
Set MyControl = CommandBars("ButtonTest").Controls(1)
Set Ctrl1 = MyControl.Controls(3)
Ctrl1.Enabled = False
Assuming the toolbar name is ButtonTest and there is only 1 menu button with atleast 3 buttons in the sub menu.
But thanks opus for your insite, very valuable information there buddy
Last edited by Avatarp; May 9th, 2003 at 02:04 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|