The information in this article applies to:
SYMPTOMSWhen you run a macro that contains the xlColumnWidths member, you receive the following error message:
CAUSEThis error message occurs when the following conditions are true:
WORKAROUND
To work around this problem use the number 8 in place of the xlColumnWidths value. The number 8 represents the Column Widths paste constant which is part of Microsoft Excel. The following example illustrates this:
to this:
MORE INFORMATION
Although Microsoft Excel displays the xlColumnWidths member when you use the Macro Recorder to record a macro, it is not defined in the object model of Excel. Because it is not defined in the object model, it does not appear in the Object Browser in the Visual Basic Editor (on the View menu, click Object Browser).
Additional query words: XL2000 xlColumnWidths
Keywords : kbdta kbdtacode OffVBA KbVBA |
Last Reviewed: July 12, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |