Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Tracing into a Function

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?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default Tracing into a Function

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



"Adrian McCray" wrote in message
...
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?



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
tracing precedents Ricardo Monroy Excel Worksheet Functions 1 July 28th 08 06:27 PM
Formula Tracing Wicad Excel Discussion (Misc queries) 2 July 4th 08 03:02 PM
Looking for alphabet tracing Tally Excel Discussion (Misc queries) 1 July 18th 07 07:52 PM
Tracing precedents johnston Excel Worksheet Functions 0 May 18th 07 12:21 PM
Tracing Dependents adamcal2004 Excel Discussion (Misc queries) 0 December 15th 04 08:21 PM


All times are GMT +1. The time now is 08:29 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"