Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Printing Multiple Ranges from Multiple Worksheets

Is there a way to print out multiple ranges from multiple
worksheets onto a single page. What I am trying to do is
take Cells (a1:h4) "sheet1" and Cells (a1:f4) "sheet2" and
print them on one page. I tried the union command but it
did not seem to like the multiple sheets.

Any help would be great.

Thanks,

Dave
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Printing Multiple Ranges from Multiple Worksheets

Try this

It will add a sheet to your workbook
Paste the ranges in it
Print
Delete the sheet


Sub Printexample()
Dim WS As Worksheet
Set WS = Worksheets.Add
Sheets("Sheet1").Range("A1:h4").Copy WS.Cells(1, 1)
Sheets("Sheet2").Range("A1:f4").Copy WS.Cells(5, 1)

WS.PrintOut
Application.DisplayAlerts = False
WS.Delete
Application.DisplayAlerts = True
End Sub


--
Regards Ron de Bruin
(Win XP Pro SP-1 XL2002 SP-2)
www.rondebruin.nl



"Dave Barkley" wrote in message ...
Is there a way to print out multiple ranges from multiple
worksheets onto a single page. What I am trying to do is
take Cells (a1:h4) "sheet1" and Cells (a1:f4) "sheet2" and
print them on one page. I tried the union command but it
did not seem to like the multiple sheets.

Any help would be great.

Thanks,

Dave



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
Named Ranges - Multiple Worksheets Josh O. Excel Discussion (Misc queries) 3 April 1st 09 07:31 PM
Rank €“ multiple ranges from different worksheets Heather Excel Worksheet Functions 3 September 24th 08 07:02 PM
How do i update multiple data ranges across multiple worksheets? mwah Excel Discussion (Misc queries) 0 July 6th 06 04:57 AM
Printing multiple ranges on one worksheet Pivot Novice Excel Discussion (Misc queries) 4 April 10th 06 11:05 PM
copy ranges from multiple worksheets simora Excel Worksheet Functions 2 May 18th 05 01:42 AM


All times are GMT +1. The time now is 07:06 PM.

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

About Us

"It's about Microsoft Excel"