E2003: Copy all Page Setup settings to all tabs?

bulrush

Registered User.
Local time
Today, 06:22
Joined
Sep 1, 2009
Messages
209
I might receive an Excel file from a customer with 15 tabs in it. I want to set up my page settings on the first tab, and copy those Page Settings (margins, header, footer, everything) to all tabs.

Is there VBA or a macro to do this?

Thanks.
 
I found the answer.
http://j-walk.com/ss/excel/usertips/tip042.htm

Each Excel sheet has its own print setup options (orientation, margins, headers and footers, and so on). These options are specified in the Page Setup dialog box, which you access using the File, Page Setup command.
When you add a new sheet to a workbook, it contains the default page setup setting. Here's an easy way to transfer the settings from one worksheet to additional worksheets:

  1. Activate the sheet that contains the desired setup info. This is the "source" sheet.
  2. Select the "target" sheets. Press Ctrl and click the sheet tabs of the sheets you want to update with the settings from the source sheet.
  3. Select File, Page Setup and click OK.
The Page Setup settings of the source sheet will be transferred to all of the target sheets.
 

Users who are viewing this thread

Back
Top Bottom