Link to home
Start Free TrialLog in
Avatar of Bright01
Bright01Flag for United States of America

asked on

Macro to change color

EE Pros,

I'm in need for some help with a macro.  

I need a macro that changes the color in the Cell from blank to white (vblack) when you double click on the cell or merged cells.  It needs to only be active for a specific range of cells.

Help would be appreciated.

B.
Color-change.xlsx
Avatar of Wayne Taylor (webtubbs)
Wayne Taylor (webtubbs)
Flag of Australia image

Blank is White?? Do you mean blank to white and visa versa? If so, see the attached workbook.
Color-change.xlsm
Avatar of Bright01

ASKER

Thanks Wayne! No....black to blank. or blank to black.

B.
ASKER CERTIFIED SOLUTION
Avatar of Wayne Taylor (webtubbs)
Wayne Taylor (webtubbs)
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Quick, accurate, works!  Thank you!

B.
You might have been able to use Conditional Formatting rather than using the Double Click.

CF allows you to apply formatting based on a condition in the specific cell or elsewhere.
Rob,

Thanks for the comment.  I am  using Condition formatting but need to be able to rapidly change cells without a formula.  The double click  makes a good solution.

Again thank you,

B.