DavidWRouse
Registered User.
- Local time
- Today, 08:42
- Joined
- Jul 24, 2003
- Messages
- 42
Within a macro I have opened a form with buttons on for the user to selct an option.
When an option have been chosen i then want to continue running the macro
an act on the results.
e.g. (Macro)
Open Form (With Options on)
[Forms]![frm_DB_DialogueBox]![DB_YN].Value = 1 StopMacro
[Forms]![frm_DB_DialogueBox]![DB_YN].Value = 2 RunCode(123)
[Forms]![frm_DB_DialogueBox]![DB_YN].Value = 3 RunCode(xyz)
Closeform (With Options on)
I want to do this within a macro, I can't work out a way of Holding the macro from continuing until an option is selected.
When an option have been chosen i then want to continue running the macro
an act on the results.
e.g. (Macro)
Open Form (With Options on)
[Forms]![frm_DB_DialogueBox]![DB_YN].Value = 1 StopMacro
[Forms]![frm_DB_DialogueBox]![DB_YN].Value = 2 RunCode(123)
[Forms]![frm_DB_DialogueBox]![DB_YN].Value = 3 RunCode(xyz)
Closeform (With Options on)
I want to do this within a macro, I can't work out a way of Holding the macro from continuing until an option is selected.