On my Userform, several CommandButtons have pictures instead of text, using
Which yields a userform with colorful icons:
When disabling the CommandButtons, using
the buttons become disabled as expected but the pictures on the CommandButtons just become greyed out rectangles:
Whenever a button is disabled:
• Is there any way to have the existing image show as usual, but in greyscale?
• Are there other ways to not have a solid grey rectangle appear in its place?
I tried loading another Picture in its place whenever the button gets disabled, but it would also only show as a grey rectangle
Much thanks in advance. (P.S. This is my first post - if I posted in the wrong category, please move to correct category)
VBA Code:
Me.btnSave.Caption = ""
Me.btnSave.Picture = LoadPicture(btnDir & "Save.gif")
Which yields a userform with colorful icons:
When disabling the CommandButtons, using
VBA Code:
Me.btnSave.Enabled = False
the buttons become disabled as expected but the pictures on the CommandButtons just become greyed out rectangles:
Whenever a button is disabled:
• Is there any way to have the existing image show as usual, but in greyscale?
• Are there other ways to not have a solid grey rectangle appear in its place?
I tried loading another Picture in its place whenever the button gets disabled, but it would also only show as a grey rectangle
Much thanks in advance. (P.S. This is my first post - if I posted in the wrong category, please move to correct category)