Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default How do I set a print area for every sheet in the workbook?

When I print from an Excel workbook, I want to print the same print are for
every sheet. Is there a way to make it the default print area without having
to select it in every sheet?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,819
Default How do I set a print area for every sheet in the workbook?

Group the Sheets first.

scru_ball wrote:

When I print from an Excel workbook, I want to print the same print are for
every sheet. Is there a way to make it the default print area without having
to select it in every sheet?


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default How do I set a print area for every sheet in the workbook?

Unfortunately print area and rows to repeat are two functions that cannot be
set with grouped sheets as Bob I suggested.

Using VBA code you can set the same print range and rows to repeat at top on
each sheet in grouped sheets.

See this google search result with Dave Peterson and myself posting. The
print area code is from Bob Flanagan.

http://snipurl.com/106kz


Gord Dibben MS Excel MVP

On Mon, 2 Feb 2009 14:13:00 -0800, scru_ball
wrote:

When I print from an Excel workbook, I want to print the same print are for
every sheet. Is there a way to make it the default print area without having
to select it in every sheet?


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default How do I set a print area for every sheet in the workbook?


Code:
--------------------
Sub PrintAreas()
Dim Rng As Range
Dim sh As Worksheet
Set Rng = Application.InputBox("Select print area", Type:=8)
For Each sh In Worksheets
sh.PageSetup.PrintArea = Rng.Address
Next
End Sub
--------------------


--
mdmackillop
------------------------------------------------------------------------
mdmackillop's Profile: http://www.thecodecage.com/forumz/member.php?userid=113
View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=57727

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
set a permentant print area in a multi-sheet workbook Miki Excel Worksheet Functions 1 October 6th 07 02:26 AM
Set print area for entire workbook Flambeau Excel Discussion (Misc queries) 3 June 16th 07 01:38 AM
how to set print area for the entire excel workbook milesel Excel Discussion (Misc queries) 1 May 5th 06 12:11 AM
Active cell counting in particular print page (one sheet having different print area) ananthmca2004 Excel Worksheet Functions 1 November 24th 05 11:29 AM
Print a sheet area to another... Mike Excel Discussion (Misc queries) 5 July 8th 05 09:05 PM


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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"