H
Hunter57
This is really weird. All of my VBA subs run fine except for from the
VBA Editor Window (they even work in the Immediate Window). But
whenever I try to use the VBA Editor Window to run any sub in ANY
Access DB from in form module or any module I get an error--even with
simple subs like this:
Private Sub myTest(Cancel As Integer)
MsgBox "There is no data for this report. Canceling report..."
End Sub
This is what happens: A Macro Dialog box opens and lists Subs from
Modules are listed in the Macro Dialog box.
It does the same thing in databases that I download.
I am beginning to think I may need to reinstall or repair Access.
Can anybody help?
Pat
VBA Editor Window (they even work in the Immediate Window). But
whenever I try to use the VBA Editor Window to run any sub in ANY
Access DB from in form module or any module I get an error--even with
simple subs like this:
Private Sub myTest(Cancel As Integer)
MsgBox "There is no data for this report. Canceling report..."
End Sub
This is what happens: A Macro Dialog box opens and lists Subs from
Modules are listed in the Macro Dialog box.
It does the same thing in databases that I download.
I am beginning to think I may need to reinstall or repair Access.
Can anybody help?
Pat