troubleshooting Question

Problem to refer to row after search

Avatar of Peter Chan
Peter ChanFlag for Hong Kong asked on
Visual Basic ClassicMicrosoft ExcelVBAMicrosoft AccessProgramming
1 Comment1 Solution1061 ViewsLast Modified:
Hi,
I expect to refer to the relevant row by this
    Set c = Worksheets("Sheet1").Cells.Find("HP-SWR-013")
    If Not c Is Nothing Then
        MsgBox Worksheets("Sheet1").ActiveCell.Row
    End If
when there is match to the relevant string shown as above. But get this error
tt511.pngWhy?

How to go to the relevant line, when the search is finished and a match is existing there?
ASKER CERTIFIED SOLUTION
NorieSenior Associate
Join our community to see this answer!
Unlock 1 Answer and 1 Comment.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 1 Comment.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros