The information in this article applies to:
SYMPTOMSIn Microsoft Excel 98 Macintosh Edition, if you click the Tools menu, point to Macro, click Macros, and then click Options, the Macro Options dialog box does not contain as many controls as in earlier versions of Microsoft Excel. CAUSESome controls were removed from the Macro Options dialog box in Microsoft Excel 98 Macintosh Edition. WORKAROUNDMicrosoft 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.aspMost functionality originally provided by the controls in the Macro Options dialog box is available when you run a macro that uses the MacroOptions method. The MacroOptions method in Microsoft Excel uses the syntax:
where <macroname> is the name of the macro whose options you want to
change. The optional arguments are separated by commas.
Each control in the Macro Options dialog box has a corresponding optional argument that you can add to the MacroOptions method. The following table lists the controls previously available in the Macro Options dialog box and the optional argument that allows you to change the setting in question:
For example, assume you have a macro called "Test" and you want to set the following options for the macro.
You can set these options by executing the following command in a Microsoft
Visual Basic for Applications macro:
Because the Macro Options dialog box in Microsoft Excel 98 Macintosh
Edition does not contain all of the same controls as in earlier versions of
Microsoft Excel, this is the only method you can use to set most of the
macro options.
Note: The arguments marked above with an asterisk (*), HasMenu and MenuText, are ignored in Microsoft Excel 98 Macintosh Edition. This functionality is no longer available. For additional information, please see the following article in the Microsoft Knowledge Base: Q157203 XL97: Cannot Add Macros to the Tools Menu STATUSThis behavior is by design of Microsoft Excel 98 Macintosh Edition. MORE INFORMATIONThe Macro Options dialog box in Microsoft Excel version 5.0 contains the following controls.
In Microsoft Excel 98 Macintosh Edition, the Macro Options dialog box
contains fewer controls.
You can only change settings for other controls by using a macro using the
MacroOptions method.
Additional query words: XL98 VBE VBA
Keywords : kbcode kbprg xlui xlvbahowto xlvbmigrate |
Last Reviewed: November 9, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |