XL5: Page Setup Settings Not Saved with Visual Basic Modules

ID: Q111087


The information in this article applies to:


SYMPTOMS

In Microsoft Excel version 5.0, the Page Setup settings for Visual Basic modules are not saved. When you reopen a workbook containing modules, the Page Setup settings for the modules will revert to their default settings.


STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. This problem was corrected in Microsoft Excel for Windows version 5.0c.


MORE INFORMATION

If you change the Page Setup settings for a Visual Basic module, those settings will be preserved only as long as the workbook containing the module is open. When you close the workbook, Page Setup settings for modules revert to their default settings, even if you save the workbook.

In Microsoft Excel version 5.0 for Windows, the default Page Setup settings for a module are as follows:


   Tab       Setting              Value
   -------   -----------------    -------------------------------------

   Page      Orientation          The default orientation as set in
                                  Windows Control Panel

             Scaling              100% of normal size

             Paper Size           The default paper size as set in
                                  Windows Control Panel

             First Page Number    Auto

   Margins   Top                  1 inch
             Bottom               1 inch
             Left                 0.75 inch
             Right                0.75 inch
             Header (from edge)   0.5 inch
             Footer (from edge)   0.5 inch

   Header/   Header               <the module's name>

   Footer    Footer               Page 1 

Additional query words:


Keywords          : 
Version           : 5.00
Platform          : WINDOWS 
Issue type        : 

Last Reviewed: July 15, 1999