Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Print Formatting
I have a variety of macros that create Pivot Tables from a database. Is
there a way to program the default print formatting to landscape and fit on one page? Thanks in advance |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Print Formatting
Figured out the answer to my own question ... but for anyone else that wants
to know: Sub PrintFormat() Dim sh As String sh = ActiveSheet.name ' Formats worksheet to print on one page in Landscape With Worksheets(sh).PageSetup .Zoom = False .FitToPagesTall = 1 .FitToPagesWide = 1 .Orientation = xlLandscape End With End Sub "Chaz" wrote: I have a variety of macros that create Pivot Tables from a database. Is there a way to program the default print formatting to landscape and fit on one page? Thanks in advance |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Formatting a cell to print or not to print | Excel Worksheet Functions | |||
Chart print preview and print formatting | Charts and Charting in Excel | |||
Print conditional formatting | Excel Discussion (Misc queries) | |||
Print formatting | Excel Discussion (Misc queries) | |||
Formatting all sheets in a workbook to print the same | Excel Discussion (Misc queries) |