The information in this article applies to:
SYMPTOMSWhen you use the example macro code provided in the MacScript Function Help topic, you may receive the following error:
CAUSEYou receive this error because the example macro code is incorrect. RESOLUTIONThe example macro code provided in the MacScript Function Help topic is as follows:
In order to get this example code to run successfully, change it as
follows:
Note that the only difference is the space between "Choose" and "File."
When you run your macro with this change, the Choose File script will return the name of the selected item to the variable called ThePath$ as a string. STATUSMicrosoft has confirmed this to be a problem in Microsoft Excel 98 Macintosh Edition. MORE INFORMATION
The example macro code included with the MacScript Function Help topic
incorrectly references a script called ChooseFile. The correct name for
this script is Choose File and is located in the <hard drive name>:System
Folder:Scripting Additions folder. The scripts included in this folder are
installed by your Apple Macintosh System software.
REFERENCES
For more information about the MacScript Function, click the Office
Assistant, type "macscript," click Search, and then click to view
"MacScript Function."
Q179216 OFF98: How to Use the Microsoft Office Installer Program Additional query words: XL98 applescript
Keywords : kbdocerr kbdta xlvbainfo |
Last Reviewed: January 19, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |