Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Dear Forum members,
When opening a workbook I would like to use a vbYesNo MsgBox to prompt the user to answer yes or no to a given question. Depending on whether they answer yes/no I want another MsgBox to confirm their input. I have tried using the following but to no avail, can anyone please help? Thanks, Matt Private Sub Workbook_Open() MsgBox ("Question") If MsgBox = vbYes Then MsgBox ("Reply if yes") Else MsgBox ("Reply if no") End If End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
msgbox text vbyesno | Excel Programming | |||
VbYesNo MsgBox won't respond to "No" | Excel Programming | |||
VBYesNo MsgBox - Computer always says "Yes" | Excel Discussion (Misc queries) | |||
VbYesNo Msg Box | Excel Discussion (Misc queries) | |||
vbYesNo | Excel Programming |