Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Hello All I need help wirting a macro to conditionally format a selection based on the below criteria. The macro will run at the click of a button. Selection(B2:F18) If $A2="Y1" then format Border top thick and Interior color light Yellow If $A2="Y" then format Border top thin and Interior color light Yellow If $A2="G1" then format Border top thick and Interior color light Green If $A2="G" then format Border top thin and Interior color light Green Thank you for your help! Ed -- nuver ------------------------------------------------------------------------ nuver's Profile: http://www.excelforum.com/member.php...o&userid=10036 View this thread: http://www.excelforum.com/showthread...hreadid=473648 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Conditional Formatting - Thick Border? | Excel Worksheet Functions | |||
thick border on 2nd half of print | Excel Discussion (Misc queries) | |||
conditionally format anumber format | Excel Worksheet Functions | |||
How to offset cell value from thick border lines? | Excel Discussion (Misc queries) | |||
Conditionally format | Excel Programming |