Message 1 of 9
'Execution error' on cancel

Not applicable
06-06-2002
03:27 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Okay, this is my first vba project so please don't crucify me 🙂
I've written a simple routine for plotting, which presents the user with a
dialog box of four option buttons, each representing a defined pagesetup in
the drawing. The user picks an option, and clicks GO. This all works fine.
I call the form up with a toolbar button:
--
^C^C(command "-vbarun" "QPlot.dvb!Module1.QuickPlot")
--
The QuickPlot sub is this:
--
Public Sub QuickPlot()
fmQPlot.Show
End Sub
--
The cmdCancel code:
--
Private Sub cmdCancel_Click()
End
End Sub
--
When I click Cancel, the command line reads:
--
Command: (command "-vbarun" "QPlot.dvb!Module1.QuickPlot") -vbarun
Initializing VBA System...
Macro name: QPlot.dvb!Module1.QuickPlot Execution error
Command: nil
--
Why the error?
Thanks,
Adam
I've written a simple routine for plotting, which presents the user with a
dialog box of four option buttons, each representing a defined pagesetup in
the drawing. The user picks an option, and clicks GO. This all works fine.
I call the form up with a toolbar button:
--
^C^C(command "-vbarun" "QPlot.dvb!Module1.QuickPlot")
--
The QuickPlot sub is this:
--
Public Sub QuickPlot()
fmQPlot.Show
End Sub
--
The cmdCancel code:
--
Private Sub cmdCancel_Click()
End
End Sub
--
When I click Cancel, the command line reads:
--
Command: (command "-vbarun" "QPlot.dvb!Module1.QuickPlot") -vbarun
Initializing VBA System...
Macro name: QPlot.dvb!Module1.QuickPlot Execution error
Command: nil
--
Why the error?
Thanks,
Adam