LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 37
Default Formula incorrecting showing 0 as result

I'm using Excel 2000. In a particular file only, when I enter a UDF as a
formula, and the dialog showing the parameters is displayed, I see that the
function will produce a correct, non-zero result. When I click OK to save
the formula, 0 is displayed.

When I try adding a breakpoint to the first line of code in the UDF, it is
never reached.

I then enter a formula into another cell, it can be anything including the
same UDF as used in the first cell. This time when I click OK, the
breakpoint in the UDF is reached (twice when this 2nd cell uses the same UDF
as the original formula), and then I see the correct results displayed in
both of the cells.

If I then edit the original formula again (and not change anything), it
again does not braeak at the beginning of the function, and shows 0. Edit
the 2nd cell, and both will then display correctly.

The value does not recompute when I change the cell values that are used for
the UDF parameters either, even though I have the calculation set to
automatic.

It's very strange. What could be causing this?

Thanks!
 
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
Formula result showing 0 Rajula Luke - This is my display name Excel Discussion (Misc queries) 3 March 9th 10 12:21 PM
Macro Showing Formula and Result Simon Excel Programming 2 February 13th 06 08:22 AM
VLOOKUP result is not showing up - only the formula Linda Excel Worksheet Functions 10 December 21st 05 06:37 AM
formula in cell not showing result Leolin Excel Worksheet Functions 8 March 18th 05 05:36 PM
Formula result not showing in cell Leolin Excel Worksheet Functions 2 March 17th 05 06:03 AM


All times are GMT +1. The time now is 11:40 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"