N
new2access123 via AccessMonster.com
I am just learning VBA and learning to use the debug features as I go. I
have successfully written functions and debugged then by running them from
the debug window.
?MyFunction()
In the Code Window I can position the cursor and press F5 and run the code
from that point.
Now I want to run a sub from the Immediate window. After some searching I
found that the correct syntax is to run my sub:
form_form1.Combo0_Click
But in the Code Window when I can position the cursor and press F5 to run the
code from that point a Macro dialog shows up for me to select a function
from a completely different module.
What is VBA doing?
Is there an equivalent to the F5 feature that I can use in this case?
Thanks
have successfully written functions and debugged then by running them from
the debug window.
?MyFunction()
In the Code Window I can position the cursor and press F5 and run the code
from that point.
Now I want to run a sub from the Immediate window. After some searching I
found that the correct syntax is to run my sub:
form_form1.Combo0_Click
But in the Code Window when I can position the cursor and press F5 to run the
code from that point a Macro dialog shows up for me to select a function
from a completely different module.
What is VBA doing?
Is there an equivalent to the F5 feature that I can use in this case?
Thanks