Hi,
I am in sheet("game1") and I want to get some info sheet("game2") unsing the match function.
I have the following code that works just fine. but!!!
Sub Test1()
Dim rw as long
Application.ScreenUpdating = False
Sheets("game2").Select
With Application.WorksheetFunction
rw = .Match(, Range("G:G"), 0)
End With
Sheets("game1").Select
Application.ScreenUpdating = True
end sub
I want to make a change so that I dont have to swap between sheets.
I tried the following code, but I am missing something!
Sub Test2()
Dim rw as long
Dim wsData As Worksheet
'Set wsData = Worksheets("game2")
With Application.WorksheetFunction
rw = .Match(, Range("G:G"), 0)
End With
end sub
Regards,
Elio Fernandes
Bookmarks