Logo 
Search:

MS Office Answers

Ask Question   UnAnswered
Home » Forum » MS Office       RSS Feeds
  Question Asked By: Mada Akhtar   on Sep 19 In MS Office Category.

  
Question Answered By: Chaths Massri   on Sep 19

Try this instead:

Function FindRowNumber(strText) As Integer
Dim TryFind As Range
With ActiveSheet.Range("A1:A3000")
Set TryFind = .Find(strText)
If Not TryFind Is Nothing Then
MsgBox TryFind.Row
Else
MsgBox "Not found!"
End If
End With
End Function

Share: 

 

This Question has 1 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on Finding Rows Or get search suggestion and latest updates.


Tagged: