TheToeOfPooh
Active Member
- Joined
- May 21, 2004
- Messages
- 254
Do you soemtimes wish you hadn't started to improve something?
I have a series of InputBoxes activated from a "Menu" (Form).
The first asks for the user to enter a filename.
If the vbCancel Button is selected
the Routine will stop by using Exit Sub.
If vbOK is selected
the next InputBox opens and asks for further information e.g. Current Year. And so On.
I am completly stuck as to how I activate an effective response to these further VBOK or vbCancel buttons.
e.g. If the user selects the Cancel Button on the "Year" InputBox
How do I display a suitable MsgBox (Such as "Continue?", vbYesNo)
with options to
vbYes Go to next Inputbox
vbNo Exit Sub
After the Intial Input box which asks for a filename there are 6 of these subsequent Boxes.
Please note this is my first project using VBA with Access so please assume lowest level of understanding when replying with any tips.
Bernard
I have a series of InputBoxes activated from a "Menu" (Form).
The first asks for the user to enter a filename.
If the vbCancel Button is selected
the Routine will stop by using Exit Sub.
If vbOK is selected
the next InputBox opens and asks for further information e.g. Current Year. And so On.
I am completly stuck as to how I activate an effective response to these further VBOK or vbCancel buttons.
e.g. If the user selects the Cancel Button on the "Year" InputBox
How do I display a suitable MsgBox (Such as "Continue?", vbYesNo)
with options to
vbYes Go to next Inputbox
vbNo Exit Sub
After the Intial Input box which asks for a filename there are 6 of these subsequent Boxes.
Please note this is my first project using VBA with Access so please assume lowest level of understanding when replying with any tips.
Bernard