Recorded Macro Is Interactive If CROSSTAB.CREATE() Is Too LongLast reviewed: July 16, 1997Article ID: Q88245 |
The information in this article applies to:
SUMMARYYou can record a macro in Microsoft Excel that automatically creates a cross-tabulation table. If the resulting CROSSTAB.CREATE() function is longer than 255 characters, your macro runs the Crosstab ReportWizard instead of building an Excel cross-tabulation table automatically.
MORE INFORMATIONMicrosoft Excel enters the CROSSTAB.CREATE() function along with its arguments in a cell on your macro sheet when you record a macro that creates a cross-tabulation table. If your field names are very lengthy or if you choose multiple fields for both row and column categories, the resulting CROSSTAB.CREATE() function may exceed the limit in Microsoft Excel of 255 characters per cell. If the function is longer than 255 characters, Microsoft Excel is unable to enter the complete form of the function and enters the interactive form (=RUN(CROSSTAB.CREATE?,FALSE)) instead.
WORKAROUNDIf the CROSSTAB.CREATE() function is too long to fit in the cell, you can use variables in place of its arguments. To use variables in place of arguments,
REFERENCES"Function Reference," version 4.0, pages 82-84 "User's Guide 1," version 4.0, pages 346-356
|
Additional query words: 4.00
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |