The information in this article applies to:
SYMPTOMSWhen you use the following line of code in a Visual Basic, Applications Edition, procedure
you will receive the following error message:
CAUSExlDialogFormatChart is the equivalent of clicking Options in the Format Chart Type dialog box. The Application.Dialog show method is the Microsoft Excel 5.0 Visual Basic for Applications equivalent to the Microsoft Excel 4.0 macro (XLM) command FORMAT.CHART?(1). If the XLM command requires one or more arguments, then so does the Visual Basic for Applications method. RESOLUTION
The following Visual Basic for Applications code produces the results as
intended by using the Application.Dialogs(xlDialogFormatChart).Show.
MORE INFORMATION
The Application.Dialog Show method follows the interactive XLM command
(in this case =FORMAT.CHART?(1)). If the XLM command requires one or more
arguments, then so does the Visual Basic for Applications method.
Built-In Dialog and then double-click the selected text to go to the "Built-In Dialog Box Argument Lists" topic. REFERENCES"Visual Basic User's Guide," version 5.0, Chapter 11, "Controls and Dialog Boxes," page 234 Additional query words: 5.00c
Keywords : kbprg |
Last Reviewed: October 19, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |