Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Programmatically copy Conditional formats from one cell to another
I've been trying to figure out how to do this, but haven't beensuccessful.
Can someone give me an idea on how to approach this. I'd like to refer to the cell with the CF's as r (formatted as a range) and the cell without the format as r1 (again, formatted as a range) Thanks, Barb Reinhardt |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Programmatically copy Conditional formats from one cell to another
Hope this helps
Range("F18").Select ' cell with conditional formatting Selection.Copy ' copy the formatting Range("I14").Select ' target cell to copy the formats on to Selection.PasteSpecial Paste:=xlFormats, Operation:=xlNone, SkipBlanks:= _ False, Transpose:=False ' pastespecial the formats Application.CutCopyMode = False "Barb Reinhardt" wrote: I've been trying to figure out how to do this, but haven't beensuccessful. Can someone give me an idea on how to approach this. I'd like to refer to the cell with the CF's as r (formatted as a range) and the cell without the format as r1 (again, formatted as a range) Thanks, Barb Reinhardt |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Keeping Conditional Formats 'Constant' when copy & paste | Excel Discussion (Misc queries) | |||
Copy Conditional Formats on a List | Excel Discussion (Misc queries) | |||
How to copy the new Excel 2007 conditional formats | Excel Programming | |||
How do I copy conditional formats so it changes cell references? | Excel Worksheet Functions | |||
Copy Conditional Formats | Excel Programming |