A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

How do I fit to 1 page on entire workbook



 
 
Thread Tools Display Modes
  #1  
Old November 17th, 2009, 11:39 AM posted to microsoft.public.excel.misc
Val Mc
external usenet poster
 
Posts: 1
Default How do I fit to 1 page on entire workbook

I have approx. 200 sheets in my workbook and I need to fit each sheet to one
page. I can do it individually ( ie. page set up or format painter) but it
takes time. Can I convert the entire workbook to print to 1 page?
  #2  
Old November 17th, 2009, 12:27 PM posted to microsoft.public.excel.misc
Jacob Skaria
external usenet poster
 
Posts: 5,952
Default How do I fit to 1 page on entire workbook

You can try out the below macro. If you are new to macros..

--Set the Security level to low/medium in (Tools|Macro|Security).
--From workbook launch VBE using short-key Alt+F11.
--From menu 'Insert' a module and paste the below code.
--Get back to Workbook.
--Run macro from Tools|Macro|Run selected macro()


Sub FitWorkbookToOneOne()
Dim intTemp As Integer
For Each sh In ActiveWorkbook.Sheets
With sh.PageSetup
.Orientation = xlPortrait
.PaperSize = xlPaperA4
.Zoom = False
.FitToPagesWide = 1
.FitToPagesTall = 1
End With
Next
End Sub

If this post helps click Yes
---------------
Jacob Skaria


"Val Mc" wrote:

I have approx. 200 sheets in my workbook and I need to fit each sheet to one
page. I can do it individually ( ie. page set up or format painter) but it
takes time. Can I convert the entire workbook to print to 1 page?

  #3  
Old November 17th, 2009, 06:36 PM posted to microsoft.public.excel.misc
EricG[_2_]
external usenet poster
 
Posts: 96
Default How do I fit to 1 page on entire workbook

You should be able to select all 200 sheets at once (select the first one,
then "Shift-Click" on the last one to select them all). Then go into Page
Setup and select the "Fit to 1 page tall by 1 page wide" option, and set any
other options you desire to have in common amongst those sheets.

HTH,

Eric


"Val Mc" wrote:

I have approx. 200 sheets in my workbook and I need to fit each sheet to one
page. I can do it individually ( ie. page set up or format painter) but it
takes time. Can I convert the entire workbook to print to 1 page?

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 12:42 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.