Hi,
I'm trying to find the column from the header and using the result, to format the entire column. below is what i've writen.
When i'm running it i face an error 'invalid procedure or argument', i can't seem to figure out why.
Thanks in advance
I'm trying to find the column from the header and using the result, to format the entire column. below is what i've writen.
Code:
Dim lnRow As Long
lnRow = Worksheets("ADSS").Cells("1:1").Find(What:="Party", LookIn:=xlValues, LookAt:=xlWhole, MatchCase:=False, SearchFormat:=False)
Range("inrow:inrow").NumberFormat = "0"
When i'm running it i face an error 'invalid procedure or argument', i can't seem to figure out why.
Thanks in advance