Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
I run the script below (thanks Jay Freedman) from a batch file to open an
ASCII text file, and compress 136 column report to print on letter size paper. Can I print, close the document and window so user does nothing but click on batch file? Public Sub SetupReport() Documents.Open "C:\docs\wide.txt" ActiveDocument.PageSetup.Orientation = wdOrientLandscape With ActiveDocument.Range .Font.Name = "Courier New" .Font.Size = 7 End With End Sub Thanks |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Help! I'm getting error messages too much-can't open Resume Wizard | Microsoft Word Help | |||
Where did "print blank lines" option go in Office 2003??? | Mailmerge | |||
Templates | Page Layout | |||
No changes, but asks to save changes | Microsoft Word Help |