Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi there
I have a macro that fomats columns in an active row. In column "R" I have a formula that returns the value of 2 if the condition is true. I want to write a macro that will find the 2(s) in column R and run my formating macro. Heres my formatting macro 'Range("C" & ActiveCell.Row, ActiveCell.Offset(0, 10)).Select 'Let r = ActiveCell.Row Range("C" & ActiveCell.Row & ":M" & ActiveCell.Row).Select With Selection.Interior .ColorIndex = 37 .Pattern = xlSolid End With Selection.Font.ColorIndex = 3 Selection.Font.Bold = True Range("R" & ActiveCell.Row).Select Selection.Copy Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _ :=False, Transpose:=False Range("H" & ActiveCell.Row).Select Selection.ClearContents Thanks for your time |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
macro to change multiple values in a column | Excel Discussion (Misc queries) | |||
Need a Macro that will sum Values in a Column that are red | Excel Programming | |||
macro to transpose cells in Column B based on unique values in Column A | Excel Programming | |||
How to activate the cell in same row, column 1? | Excel Programming | |||
Transfer values from column to row using macro! | Excel Programming |