Debugging problem

J

jeremy

I am new to this as you can tell.

I am using Visual Basic Editor (as best I can) to input
some code. I have the deugging toolbar on but when I try
to step into the code I get a error bleep and cannot
access the debug features. Do I need to do something to
allow these to be used?
 
D

Dan Artuso

Hi,
Is the code in an event procedure?
If so, place a breakpoint in the code (simply click in the left margin
in the editor). Now with your form in 'form view', go through the motions that
will cause the event to fire and you should be able to step through the code.

If your code is a sub or function in a standard module, put a breakpoint
in as explained above, then press ctl-G to bring up the Debug window.
For a function, type in: ?NameOfYourFunction(parameter1,parameter2,....)
and hit enter.
For a sub, type in: NameOfYourSub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top