Before I print my spreadsheets I go into Print Preview and adjust the margins to where I need them, particularly the distance from the top of the page for the header and the first line of the spreadsheet, as well as centering horizontally. Is there any way to have the changes I make apply to all the sheets? I tried cntrl-clicking to select all the sheets before I made the changes, but it did not work. I need all the sheets to look uniform, and it is too hard to get all of them exactly the same.
Thanks
![]() |
There are isolated problems with current patches, but they are well-known and documented on this site. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
-
Formatting Margins in multiple sheets (XP)
Home » Forums » AskWoody support » Productivity software by function » MS Excel and spreadsheet help » Formatting Margins in multiple sheets (XP)
- This topic has 34 replies, 4 voices, and was last updated 19 years, 4 months ago.
AuthorTopicVincenzo
AskWoody LoungerViewing 3 reply threadsAuthorReplies-
WSHansV
AskWoody Lounger -
WSHansV
AskWoody Lounger -
WSJohnBF
AskWoody LoungerPage Setup changes should operate on all sheets which have been Activated using either Shift-Click (for a contiguous selection), or Ctrl-Click just as you did.
Be aware however that if a user selects a subset or a partially overlapping group of sheets and makes any changes in the Page Setup dialog, all attributes selected in the dialog will be applied to all the selected Active sheets, possibly changing settings he or she did not change nor intended to change.
-
Vincenzo
AskWoody LoungerI tried it again, something strange is going on. I decided to test using something simple, I chose Center Horizontally. When I started, sheet A and sheet B were both left justified when viewed in Print Preview. I select both sheets by cntrl clicking on their tabs, they both turned white. I went into Print preview/setup/margins for sheet A and checked Center Horizontally. Print Preview now showed both sheets centered. Then I clicked on the tab for another sheet and therefore de-selected A and B as a Group. When I went and looked again at Print Preview for A and B, Sheet A was still centered, but Sheet B went back to being left justified. The change only seemed to affect both sheets as long as they remained both selected, as a Group.
-
WSHansV
AskWoody LoungerThis is not as it should be. Could you try this in a blank new workbook? Just enter a dummy value in cell A1 in each worksheet, then repeat the page setup as you described here. It works fine in Excel 2002 (SP-2) for me – the Center Horizontally “sticks” after deselecting the group, and also after saving, closing and reopening the workbook.
-
Vincenzo
AskWoody Lounger -
WSHansV
AskWoody LoungerThere are only three settings that can’t be set for multiple sheets at a time: Print Area, Rows to Repeat at Top, and Columns to Repeat at Left.
I can’t find any mention of this problem in the Knowledge Base or in the newsgroups, so I fear there is something wrong with your Excel installation. Take a look at Jan karel Pieterse’s Systematic Approach to Behavioral Problems in XL, and try Help | Detect and Repair…
-
Vincenzo
AskWoody Lounger -
Vincenzo
AskWoody LoungerAfter hearing the comments here, I decided to look carefully to see if there was a user error. And it seems like there is. I did not realize that when you select multiple sheets and thereby create a group, that when you go to Print Preview for ANY of the sheets, you are actually still only formating for page 1 of the group. So when I was going to each tab of the group and saw that the format changes were there, I was actually looking at the first page every time, and the other pages were seen (unless I clicked the Next button) and not affected. A good clue is that at the bottom it says Page 1 of 4.
So my question now is how do I really select all sheets in order to make the formatting changes. -
WSHansV
AskWoody LoungerSelect multiple sheet tabs, either by clicking on one tab then Shift+click on another tab (also selecting all tabs in between), or by Ctrl+clicking individual tabs.
Then select File | Page Setup…
Set the margins, layout etc. the way you want, then click OK.
Do NOT select Print Preview first, and click Setup from the preview window – see XL2000: Page Setup in Print Preview Does Not Apply to All Grouped Sheets. Although this MSKB article is for Excel 2000, it holds for Excel 2002 too. -
Vincenzo
AskWoody Lounger -
Vincenzo
AskWoody Lounger -
WSHansV
AskWoody LoungerSelect multiple sheet tabs, either by clicking on one tab then Shift+click on another tab (also selecting all tabs in between), or by Ctrl+clicking individual tabs.
Then select File | Page Setup…
Set the margins, layout etc. the way you want, then click OK.
Do NOT select Print Preview first, and click Setup from the preview window – see XL2000: Page Setup in Print Preview Does Not Apply to All Grouped Sheets. Although this MSKB article is for Excel 2000, it holds for Excel 2002 too. -
Vincenzo
AskWoody LoungerOK I see that going to the Print Preview button may be the problem. If I select all the sheets and instead go to File/Page Setup my changes are universal on all pages. The only problem is that I do not get to see the image and drag the margins where I want them, I have to enter them numerically. Or am I still missing something?
-
WSHansV
AskWoody LoungerYou can do it like this:
1. Select the leftmost sheet you want to apply the settings to.
2. Activate Print Preview.
3. Click Margins and drag the margins where you want them.
4. Click Setup and apply other settings you like.
5. Close Print Preview.
6. Use Shift+click or Ctrl+click to select the other sheets you want to apply the same page setup to.
7. Select File | Page Setup.
8. Activate each tab. Added later: this step is not necessary, see below.
9. Click OK. -
Vincenzo
AskWoody Lounger -
Vincenzo
AskWoody Lounger -
WSHansV
AskWoody Lounger -
WSHansV
AskWoody Lounger -
Vincenzo
AskWoody Lounger -
WSsdckapr
AskWoody Lounger -
Vincenzo
AskWoody Lounger -
Vincenzo
AskWoody Lounger -
WSsdckapr
AskWoody Lounger -
Vincenzo
AskWoody Lounger -
WSHansV
AskWoody LoungerYou can do it like this:
1. Select the leftmost sheet you want to apply the settings to.
2. Activate Print Preview.
3. Click Margins and drag the margins where you want them.
4. Click Setup and apply other settings you like.
5. Close Print Preview.
6. Use Shift+click or Ctrl+click to select the other sheets you want to apply the same page setup to.
7. Select File | Page Setup.
8. Activate each tab. Added later: this step is not necessary, see below.
9. Click OK. -
Vincenzo
AskWoody LoungerOK I see that going to the Print Preview button may be the problem. If I select all the sheets and instead go to File/Page Setup my changes are universal on all pages. The only problem is that I do not get to see the image and drag the margins where I want them, I have to enter them numerically. Or am I still missing something?
-
Vincenzo
AskWoody LoungerAfter hearing the comments here, I decided to look carefully to see if there was a user error. And it seems like there is. I did not realize that when you select multiple sheets and thereby create a group, that when you go to Print Preview for ANY of the sheets, you are actually still only formating for page 1 of the group. So when I was going to each tab of the group and saw that the format changes were there, I was actually looking at the first page every time, and the other pages were seen (unless I clicked the Next button) and not affected. A good clue is that at the bottom it says Page 1 of 4.
So my question now is how do I really select all sheets in order to make the formatting changes. -
Vincenzo
AskWoody Lounger -
WSHansV
AskWoody LoungerThere are only three settings that can’t be set for multiple sheets at a time: Print Area, Rows to Repeat at Top, and Columns to Repeat at Left.
I can’t find any mention of this problem in the Knowledge Base or in the newsgroups, so I fear there is something wrong with your Excel installation. Take a look at Jan karel Pieterse’s Systematic Approach to Behavioral Problems in XL, and try Help | Detect and Repair…
-
-
-
Vincenzo
AskWoody Lounger
-
-
-
WSHansV
AskWoody LoungerThis is not as it should be. Could you try this in a blank new workbook? Just enter a dummy value in cell A1 in each worksheet, then repeat the page setup as you described here. It works fine in Excel 2002 (SP-2) for me – the Center Horizontally “sticks” after deselecting the group, and also after saving, closing and reopening the workbook.
Vincenzo
AskWoody LoungerI tried it again, something strange is going on. I decided to test using something simple, I chose Center Horizontally. When I started, sheet A and sheet B were both left justified when viewed in Print Preview. I select both sheets by cntrl clicking on their tabs, they both turned white. I went into Print preview/setup/margins for sheet A and checked Center Horizontally. Print Preview now showed both sheets centered. Then I clicked on the tab for another sheet and therefore de-selected A and B as a Group. When I went and looked again at Print Preview for A and B, Sheet A was still centered, but Sheet B went back to being left justified. The change only seemed to affect both sheets as long as they remained both selected, as a Group.
WSJohnBF
AskWoody LoungerPage Setup changes should operate on all sheets which have been Activated using either Shift-Click (for a contiguous selection), or Ctrl-Click just as you did.
Be aware however that if a user selects a subset or a partially overlapping group of sheets and makes any changes in the Page Setup dialog, all attributes selected in the dialog will be applied to all the selected Active sheets, possibly changing settings he or she did not change nor intended to change.
Viewing 3 reply threads -

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
Strange problem after upgrade from Win10Pro 22H2 to Win11Pro 22H2
by
JohnH
1 hour, 35 minutes ago -
Return Full Context Menus to File Explorer
by
RetiredGeek
6 hours, 6 minutes ago -
Unusual Activity on Startup
by
Kenneth Stephens
9 hours, 57 minutes ago -
Windows Backup – incremental possible?
by
colin_thames
8 hours, 9 minutes ago -
New HD addition??
by
weendoggy
13 hours, 52 minutes ago -
Defcon 4 and Windows 11
by
cmar6
14 hours, 57 minutes ago -
Add-ins keep disappearing
by
hession
12 hours, 21 minutes ago -
MS-DEFCON 4: Is Windows 11 really a disaster?
by
Susan Bradley
16 minutes ago -
The Takahē is not extinct afterall
by
lylejk
23 hours, 46 minutes ago -
How to unbloc W10pro from moving to W11
by
hession
1 day, 13 hours ago -
Windows 11, Surface, and Windows Copilot
by
Will Fastie
1 hour, 14 minutes ago -
Why File Explorer keeps me on Windows
by
Josh Hendrickson
9 hours ago -
Uninstalr — “World’s best cup of coffee”
by
Deanna McElveen
5 hours, 59 minutes ago -
Locked out of your refurbished computer?
by
Susan Bradley
5 hours, 42 minutes ago -
Thunderbird 115: Changing font size in the Message Panel
by
WCHS
1 day, 12 hours ago -
Lenovo ThinkPad not updating to Windows 11 22H2
by
Gordski
3 hours, 58 minutes ago -
Android Security
by
Magic66
1 day, 14 hours ago -
What happened to the manual?
by
Susan Bradley
1 day, 5 hours ago -
OK to Restore Files From a Possibly Hacked Computer?
by
kc27
2 days, 3 hours ago -
Startup loop after adding new user and installing File Explore Patch
by
PFC
3 days, 5 hours ago -
RoboCops comes to NYPD. You have the right to remain cyborg
by
Alex5723
3 days, 11 hours ago -
iOS 17 : New Safari Privat Search Engines
by
Alex5723
3 days, 12 hours ago -
Photos App running in background
by
Tom
2 days, 8 hours ago -
IPV6 Issue Win10 22H2 August Update
by
Win7and10
3 days, 10 hours ago -
Windows 11 Insider Preview build 23550 released to DEV
by
joep517
4 days, 10 hours ago -
Windows 11 Build 22621.2361 (22H2) released to Release Preview
by
joep517
4 days, 10 hours ago -
Lately I’ve been getting qr code spam attacks
by
Susan Bradley
4 days, 13 hours ago -
ghacks Wants Edge – FF Browser Update to View – hack/redirect
by
CraigS26
3 days, 11 hours ago -
iOS 17 : If your new iPhone gets stuck on the Apple logo when you transfer…
by
Alex5723
4 days, 21 hours ago -
Apple zero days out – September 2023
by
Susan Bradley
9 hours, 26 minutes ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2023 by AskWoody Tech LLC. All Rights Reserved.