Fill from one colour to another

dpaton05

Well-known Member
Joined
Aug 14, 2018
Messages
2,352
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
Is it possible to apply a fade from one colour to another on an active x command button?
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
No but easy to make it appear so

Add Shape (rectangle) and give it the required "fade"
Add Command button and make it slightly smaller than the shape
- change its BackStyle property to TRANSPARENT
Centre Command Button over the shape
Hold {CTRL} and right click on Rectange so that both are selected
Right-Click and GROUP


Or you could simply insert a Rectangle and "fade" \ Right_click \ Assign Macro directly to the shape (ie not use a Command Button)
 
Upvote 0
The button has a picture property. You can prepare a faded image using gradients and insert it as a bitmap.
 
Upvote 0

Forum statistics

Threads
1,217,408
Messages
6,136,447
Members
450,013
Latest member
k4kamal

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