I have been trying to fix it but was not able to, although it's a very small code: Please help, it's showing an "else without if" error:
Private Sub Workbook_Open()
Line2:
Dim pass As String
pass = InputBox("Enter Password")
If pass = "hummer" Then GoTo Line1
Else
GoTo Line2
End If
Line1:
End Sub