Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
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
Posted to microsoft.public.excel.programming
|
|||
|
|||
Printing Multiple Ranges from Multiple Worksheets
Try this
It will add a sheet to your workbook Paste the ranges in it 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 |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Named Ranges - Multiple Worksheets | Excel Discussion (Misc queries) | |||
Rank €“ multiple ranges from different worksheets | Excel Worksheet Functions | |||
How do i update multiple data ranges across multiple worksheets? | Excel Discussion (Misc queries) | |||
Printing multiple ranges on one worksheet | Excel Discussion (Misc queries) | |||
copy ranges from multiple worksheets | Excel Worksheet Functions |