in reply to Win32::OLE, Excel, & page scaling and printing
With Worksheets("Sheet1").PageSetup .Zoom = False .FitToPagesTall = 1 .FitToPagesWide = 1 End With
It lookslike you need to make sure that the PageSetup.Zoom property is false. The proper way to do this is defined in the node: Using Win32::OLE and Excel - Tips and Tricks as already referenced by Anonymous Monk. Note that the example in that node does exactly what you want, setting the page scaling to 1 page exactly.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Win32::OLE, Excel, & page scaling and printing
by sphinxy09 (Initiate) on Jan 20, 2010 at 14:22 UTC | |
by Sinistral (Monsignor) on Jan 21, 2010 at 01:03 UTC |