If I do this:
If the user clicks "OK" without entering anything, it produces an error. I tried handling it with![]()
salesgoal = Application.InputBox("What is the sales goal for the month?", Title:="Holidays", Type:=1)
but it doesn't get there, excel throws an error before it runs that "if null" line.![]()
If salesgoal = vbNullString Then Exit Sub End If
Is there a way to fix this?
Thanks,
Dave
Bookmarks