Hi,
I am getting a script out of range error message.
I am trying to look up the text in cell B4 on Sheet “Specs.” My table array is a named range call “ContinueWithTask”. ContinueWithTask is columns A:X on a sheet called “Task Names”.
If the vlookup finds the cells is empty, I want it to display a messagebox and exit the macro.
On only declaration is Dim ContinueWithTask As Range
Any ideas? My code is below.
Dim ContinueWithTask As Range
If IsEmpty(Application.WorksheetFunction.VLookup(Sheets(Specs!).Range("B4"), ContinueWithTask, 5, False) = True) Then
MsgBox ("Complete. Please review!")
Exit Sub
End If
Thanks for the help ?
I am getting a script out of range error message.
I am trying to look up the text in cell B4 on Sheet “Specs.” My table array is a named range call “ContinueWithTask”. ContinueWithTask is columns A:X on a sheet called “Task Names”.
If the vlookup finds the cells is empty, I want it to display a messagebox and exit the macro.
On only declaration is Dim ContinueWithTask As Range
Any ideas? My code is below.
Dim ContinueWithTask As Range
If IsEmpty(Application.WorksheetFunction.VLookup(Sheets(Specs!).Range("B4"), ContinueWithTask, 5, False) = True) Then
MsgBox ("Complete. Please review!")
Exit Sub
End If
Thanks for the help ?