XL5: Error Message: "Invalid Number of Arguments" with DialogFrame
Article ID: 133328
Article Last Modified on 7/12/2001
APPLIES TO
- Microsoft Excel 5.0 Standard Edition
This article was previously published under Q133328
SYMPTOMS
In Microsoft Excel, you can use the following syntax to change the caption
for the dialog frame of a custom dialog box:
DialogSheets(1).DialogFrame(1).Text="My Caption"
Although Microsoft Excel does not generate an error, this syntax is
incorrect. A custom dialog box does not have a DialogFrame collection since
there is only one dialog frame for each dialog box.
STATUS
Microsoft has confirmed this to be a problem in the Microsoft products
listed at the beginning of this article. This problem has been corrected
in Microsoft Excel for Windows, version 5.0c.
Keywords: kberrmsg KB133328