Can any tell me how to find a value in a hidden column using the .find function. At the moment, i have to unhide the column, run the macro, then hid the column again.
Something like this should work - the WITH means that the column is IMPLICITLY used rather than actually being selected:
fWhat = "DatatoFind"
With ActiveSheet.Columns("D"'where D is hidden
Set fCell = .Find(fWhat,lookin:=xlvalues,lookat:=xlwhole)
MsgBox fCell.Address
End With
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.