below is the macro i have but it is coming back with "Else without If" error
I'm trying to create a macro that when a cell = USHMTrig then it takes the user to a certain cell on a particular sheet within the worksheet.
Sub USHMTrigMac()
If L8.Value = USHMTrig Then
Do: Sheets("Example - US").Select
Range("B2").Select
Else
Exit Sub
End If
End Sub
What am I doing wrong?
I'm trying to create a macro that when a cell = USHMTrig then it takes the user to a certain cell on a particular sheet within the worksheet.
Sub USHMTrigMac()
If L8.Value = USHMTrig Then
Do: Sheets("Example - US").Select
Range("B2").Select
Else
Exit Sub
End If
End Sub
What am I doing wrong?