XL2000: Page Setup Command Does Not Exist in Modules

ID: Q211917


The information in this article applies to:
  • Microsoft Excel 2000


SUMMARY

In Visual Basic for Applications in Microsoft Excel 2000, the Page Setup command (on the File menu) is not available. However, in versions of Microsoft Excel earlier than Excel 97, the Page Setup command is available in a Visual Basic module. You can use this command to modify page settings, such as orientation, scaling, margins, headers, and footers.


MORE INFORMATION

Microsoft Excel 2000 ignores Page Setup settings in a module that you create in a version of Microsoft Excel earlier than Excel 97. These settings are not retained if you save the workbook in the "Microsoft Excel Workbook" format. However, if you save the workbook in the "Microsoft Excel 5.0/95 Workbook" format, the settings are retained.

In Microsoft Excel 2000, the Visual Basic Editor is the environment in which you create and edit Visual Basic code. The Visual Basic Editor uses an interface that is similar to Microsoft Visual Basic 4.0. This interface does not allow you to use Page Setup options.

Additional query words: missing menu item XL2000

Keywords : kbprg xlvbainfo xlvbmigrate
Version : WINDOWS:2000
Platform : WINDOWS
Issue type : kbhowto


Last Reviewed: July 6, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.