I have this code I got from internet but can 't seem to make it select just the cell not the whole column/range.
I just want to prompt for a name and have it jump to that cell and highlight it, I need to search the entire workbook.
TIA
DougP
Code:
StudentName = InputBox("Enter Student Name:", "Find Student")
Set FirstSheet = ActiveSheet '< bookmark start sheet
For Each Ws In Worksheets
Ws.Select
With ActiveSheet.Cells
Set FirstAddress = .Find(What:=StudentName, LookIn:=xlValues)
If FirstAddress Is Nothing Then '< blank sheet
GoTo NextSheet
Else
'found it
FirstAddress.CurrentRegion.Select ' < what do I change this too?
End If
End With
NextSheet:
Next Ws
I just want to prompt for a name and have it jump to that cell and highlight it, I need to search the entire workbook.
TIA
DougP