OldManDemosthenes
New Member
- Joined
- Apr 19, 2011
- Messages
- 38
Hi
I need to use a VBA code which will find a specific string within a worksheet and return what row that string is in.
Here's what I've tried but it does not work
Thanks for the input!
I need to use a VBA code which will find a specific string within a worksheet and return what row that string is in.
Here's what I've tried but it does not work
Code:
Dim TestRow as Long
TestRow = Worksheets("Sheet1").Range("A1:B200"). _
[INDENT]Application.Find("Test String").Row[/INDENT]
Worksheets("Sheet1").range("C1") = TestRow
Thanks for the input!