Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 54
Default Print in one page

Hi All,
I'm trying to programmatically print eaxh sheet in a workbook in one page!!
I've trie to use the 'VPageBreaks' and 'HPageBreaks' but no luck yet. Any
suggestions?
Thanks in advance
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default Print in one page

You want to print many worksheets on the same piece of paper ?
I don't think can directly.
You can copy your various pieces of data to the same worksheet and then
print that.
Or set up linked pictures of each of data section on another sheet, then
print that.
Or select multiple worksheet and print in the same job, but different pieces
of paper.

NickHK

"Lp12" wrote in message
...
Hi All,
I'm trying to programmatically print eaxh sheet in a workbook in one

page!!
I've trie to use the 'VPageBreaks' and 'HPageBreaks' but no luck yet. Any
suggestions?
Thanks in advance



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Print in one page

Maybe this

Sub tester()
Dim sh As Worksheet
For Each sh In ThisWorkbook.Worksheets
With sh.PageSetup
.Zoom = False
.FitToPagesWide = 1
.FitToPagesTall = 1
.Orientation = xlPortrait
End With
Next sh
End Sub



--
Regards Ron de Bruin
http://www.rondebruin.nl



"Lp12" wrote in message ...
Hi All,
I'm trying to programmatically print eaxh sheet in a workbook in one page!!
I've trie to use the 'VPageBreaks' and 'HPageBreaks' but no luck yet. Any
suggestions?
Thanks in advance



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
how do you print single page multiply times with increasing page . aliasmith Excel Worksheet Functions 2 September 26th 08 12:30 AM
Setting the print area in page set up to print 1 page wide by 2 pages tall EA[_2_] Excel Discussion (Misc queries) 2 July 12th 07 08:39 PM
PRINT PAGE BREAK VIEW AS WATERMARK FIOR EACH PAGE RALPH Setting up and Configuration of Excel 3 March 16th 06 11:08 PM
Active cell counting in particular print page (one sheet having different print area) ananthmca2004 Excel Worksheet Functions 1 November 24th 05 11:29 AM
How do I print a one page spreadsheet multiple time, each with its own page number? lhsallwasser Excel Discussion (Misc queries) 4 August 17th 05 03:00 PM


All times are GMT +1. The time now is 09:20 AM.

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"