I want to find a cell that holds a given numeric parameter. Having found that cell, how do I select it so that I can format the cell?
This is part of the code that I recorded as a macro:
Cells.Find(What:="73", After:=ActiveCell, LookIn:=xlFormulas2, LookAt:= _
*xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:=False _*
*, SearchFormat:=False).Activate*
***Range("G3").Select***
*With Selection.Interior*
*.Pattern = xlSolid*
*.PatternColorIndex = xlAutomatic*
*.Color = 65535*
*.TintAndShade = 0*
*.PatternTintAndShade = 0*
*End With*
My question relates to the Range.Select in the macro. I selected cell G3 by clicking on it as the macro recorded. What code do I use if I want the macro to identify cell G3 on its own?
Thank you