Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have the below code to insert a conditional format into cell H2 and then
copy it from cell h3 to the last row with data in column h. But the resulting conditional format ends up with this formula in each non-blank cell in column h: =$H65325="Unsigned but Inserted" Macro: With Range("h2").FormatConditions .Delete .Add(xlExpression, , "=$h2=""Unsigned but Inserted""").Font.ColorIndex = 3 End With With Range("h2") .Copy Range("h3:h" & Range("h65000").End(xlUp).Offset(0, 0).Row).PasteSpecial xlPasteFormats Application.CutCopyMode = False End With |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Why need to use Selection.PasteSpecial vs myRange.PasteSpecial | Excel Programming | |||
PasteSpecial Paste:= xlPasteFormats problem | Excel Programming | |||
PasteSpecial xlPasteFormats ends macro | Excel Programming | |||
Pastespecial and cut | Excel Programming | |||
vba pastespecial | Excel Programming |