Excel: Macro Errors When Scaling Output with PAGE.SETUP()ID: Q90953
|
In Microsoft Excel, the PAGE.SETUP() macro command must be entered as an array when referencing a defined name or a range of cells for the Scale argument and when fitting the printout to a specific number of pages.
The PAGE.SETUP() macro command allows Page Setup options to be set
within a macro. One of the options that can be set is scaling. You can
choose to reduce or enlarge by a specific percentage or to fit to a
certain number of pages.
Online Help in version 5.0 and page 313 of the "Microsoft Excel Function
Reference," version 4.0, state that you can set the Scale argument to a two-
item horizontal array. The PAGE.SETUP() command does not have to be entered
as an array if the following syntax is used:
=PAGE.SETUP(,,,,,,,,,,,,{2,1})
Number must be between 10 and 400
Macro error at cell ___
"Online Help," version 5.0
"Microsoft Excel Function Reference," version 4.0, pages 312-314
"Microsoft Excel User's Guide 1," version 4.0, pages 153-166
Additional query words: 5.0
Keywords :
Version :
Platform :
Issue type :
Last Reviewed: March 29, 1999