Formatting Sheets in a workbook

garymu16

Board Regular
Joined
Sep 15, 2006
Messages
139
Hi All,

Is there a way to format all sheets in a workbook to be the same. I find myself having to go into page set-up change from portrait to landscape, change my margins etc. in a workbook I produce weekly.

I was wondering if there is a way to set-up all sheets on a workbook to my predetermined defaults?

Thx

Gary
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).

dave3009

Well-known Member
Joined
Jun 23, 2006
Messages
7,128
Office Version
  1. 365
  2. 2021
Platform
  1. Windows
  2. Mobile
  3. Web
One option for you

Run the Macro Recorder whilst you set up your initial page, then run it on all subsequent pages.

HTH


Dave
 
Upvote 0

VoG

Legend
Joined
Jun 19, 2002
Messages
63,650
Or another option is to do that then post the recorded code here. We can tidy-up the code and modify it so it automatically loops through each sheet in the workbook.
 
Upvote 0

Forum statistics

Threads
1,190,631
Messages
5,982,035
Members
439,750
Latest member
megaman777

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top