XL98: Custom Function Returns #VALUE! Error After Running MacroID: Q180370
|
If you call a user-defined (custom) function from a worksheet formula, and then run a Microsoft Visual Basic for Applications macro, the user-defined function may return the #VALUE! error.
This problem occurs if all of the following conditions are true:
To work around this problem, use the Value property instead of the Text property in the custom function.
Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article.
You can use the Text property or the Value property with a Range object. The Value property returns the actual underlying cell value, while the Text property returns the formatted value that is displayed in the cell.
Additional query words: XL98 vba
Keywords : xlvbainfo
Version : MACINTOSH:98
Platform : MACINTOSH
Issue type : kbbug
Last Reviewed: June 14, 1999