JoeMajestee
New Member
- Joined
- Jul 15, 2009
- Messages
- 49
Hello,
Maybe someone here can help. I would like to get the current state of the find thingy (method?), use it looking at xlWhole, then return it to whatever it was before.
Thanks
Maybe someone here can help. I would like to get the current state of the find thingy (method?), use it looking at xlWhole, then return it to whatever it was before.
Code:
Public Function CheckTopRowFor(strHeader As String) As Integer
Set rng = Rows(1).Find(what:=strHeader, Lookat:=xlWhole)
If rng Is Nothing Then CheckTopRowFor = 0 Else CheckTopRowFor = rng.Column
End Function
Thanks