mahiney8184
New Member
- Joined
- Feb 18, 2010
- Messages
- 3
I found this place that has a macro button that does something similar to what I want to do. I am able to adjust everything to suite my file perfectly so far except one thing. I am trying to get the color change to be based off of another cell, not a set value.
http://www.techonthenet.com/excel/macros/change_color.php
Based on the model that this person built... an example of what I Want to do is where it says "Case "030087"" in the code, I want it to reference Cell M14. So IF the cell the function is testing is = to cell M14, color these rows.
I know some C++ and HTML, but NO Macro. I am trying to learn, so please explain.
I tried these and they didn't work.
Case "M14"
Case Is = "M14"
Case Is = M14
Please help! Thank you.
http://www.techonthenet.com/excel/macros/change_color.php
Based on the model that this person built... an example of what I Want to do is where it says "Case "030087"" in the code, I want it to reference Cell M14. So IF the cell the function is testing is = to cell M14, color these rows.
I know some C++ and HTML, but NO Macro. I am trying to learn, so please explain.
I tried these and they didn't work.
Case "M14"
Case Is = "M14"
Case Is = M14
Please help! Thank you.