LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.programming
DRK DRK is offline
external usenet poster
 
Posts: 40
Default How to debig a UDF

Got it. Thanks.
--
DRK


"MDW" wrote:

Go to the Visual Basic window (alt+F11) and locate the UDF. Place a
breakpoint at the first line of executable code (highlight anything on the
row and press F9). Go back to a cell using the function, put your cursor in
the formula bar, and hit Enter on your keyboard. This SHOULD begin execution
of the macro, and the VB window will jump to your breakpoint. Then you can
use F8 to page through line by line and discover the calculation error.
--
Hmm...they have the Internet on COMPUTERS now!


"DRK" wrote:

I have a former coworker's spreadsheet. It has a UDF which is returning
#Value. How do you debug this? I have Excel 2003 and I've tried the evaluate
formula but it wals through the first argument and then goes to #value beyond
that.

How do you debug a UDF?
--
DRK

 
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



All times are GMT +1. The time now is 12:17 PM.

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

About Us

"It's about Microsoft Excel"