The information in this article applies to:
SYMPTOMSA user-defined Visual Basic for Applications function that carries out the Run method of the Application object (Application.Run) returns the #VALUE! error value. CAUSEMicrosoft Excel enters recalculation mode when a user-defined function is called from a worksheet cell. While in recalculation mode, Application.Run is disabled. RESOLUTION
To correct this problem, install Microsoft Excel 97 Service Release 1
(SR-1).
STATUS
Microsoft has confirmed this to be a problem in Microsoft Excel 97 for
Windows. This problem was corrected in Microsoft Excel 97 SR-1.
Q172475 OFF97: How to Obtain and Install MS Office 97 SR-1 MORE INFORMATIONMicrosoft provides programming examples for illustration only, without warranty either expressed or implied, including, but not limited to, the implied warranties of merchantability and/or fitness for a particular purpose. This article assumes that you are familiar with the programming language being demonstrated and the tools used to create and debug procedures. Microsoft support professionals can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific needs. If you have limited programming experience, you may want to contact the Microsoft fee-based consulting line at (800) 936-5200. For more information about the support options available from Microsoft, please see the following page on the World Wide Web: http://www.microsoft.com/support/supportnet/overview/overview.aspYou can use the Run method of the Application object to run code written in the Visual Basic or Microsoft Excel 4.0 macro languages. You can also use the Run method to run functions contained in a DLL or XLL. With the exception of functions contained in a DLL or XLL, you can alternatively run functions by calling them directly from within another user-defined function as the following sample demonstrates.
REFERENCES
For more information about user-defined functions, click the Office
Assistant in the Visual Basic Editor, type user-defined function, click
Search, and then click to view "Function Statement".
Q120802 Office: How to Add/Remove a Single Office Program or Component Additional query words: execute executes .xll .dll vba
Keywords : kbdta KbVBA |
Last Reviewed: November 9, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |