Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Can someone tell me what's wrong with this? I keep getting the error "else without if"
Sub test() Dim Msg, Style, Title Msg = "Do you want to go ahead and continue setting up the individual store pages?" Style = vbYesNo + vbCritical + vbDefaultButton2 Title = "Individual Store Pages" Response = MsgBox(Msg, Style, Title) If Response = vbYes Then GoTo Reports Else GoTo Endit End If Reports: code Endit: more code End Sub TIA, Alan N |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Big Trouble with what I thought would be a simple Excel Formula | New Users to Excel | |||
Simple problem, simple formula, no FUNCTION ! | Excel Worksheet Functions | |||
TROUBLE WITH A SIMPLE FORMULA | Excel Discussion (Misc queries) | |||
Trouble with simple percentage formula | New Users to Excel | |||
Simple Formula Trouble | Excel Discussion (Misc queries) |