Icon for custom toolbar

villy

Active Member
Joined
May 15, 2011
Messages
489
Hi to all...
I'm new here and I know there is somebody who can help me out in my curiosity. My question:
I created a custom shortcut toolbar with icons using icon editor, how can I use that icons for my created custom toolbar with the same function.
All response will be greatly appreciated. Thanks God bless.:confused:
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
That's fine I just made some tricks on it..
I made another copy of the image then made it a grayscale color so it will look like disable and append it to disabled button...
It looks fine.
Thanks for your time. It's been a great day...

By the way Mr. Andrew I have another thread about sheets tab do you have idea about it?
Thanks God bless
 
Upvote 0
Does it mean we cannot do anything about it rather than a trick?
Thanks still...

Here is an idea .

Make a twin image for each icon but with a grey colour to simulate a disabled control.

When you come to disable the control paste the grey icon instead of setting the Enabled Property to False. Also, set the Tag Property to indicate that the control is in a disabled state such as : YourControl.Tag = "Disabled"

You will also need to edit the code associated with the control to skip the code when in a disabled state - You could easily do that by checking the Tag Property.
 
Upvote 0
Thanks for your response Jaafar...
I will consider that, but for the moment I was able to show the icons even the buttons are disabled.
Thanks still..
 
Upvote 0

Forum statistics

Threads
1,224,522
Messages
6,179,299
Members
452,904
Latest member
CodeMasterX

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top