Tracing into a Function

A

Adrian McCray

i have a function that i created. I would like to debug
the function and trace/step into the function to determine
when the problem is. however, the "Step in" option is not
valid when i show the calculation steps.

How can I debug this function?
 
C

Chip Pearson

Adrian,

Put a breakpoint (select the line, then F9) on the first line of
code in the function, then call the function either from a
worksheet cell or another VBA procedure. Then, you can use F8 to
step through the function.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com (e-mail address removed)
 

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