G
Guest
With help from Jay Freedman I now have a macro that I am using inside a batch
file
to open an ASCII text file from a unix system, and compress the print.
Is it possible to take it a step further and actually print the file then
close Word?
This is the basic macro so far, I have added some margin settings...
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.
file
to open an ASCII text file from a unix system, and compress the print.
Is it possible to take it a step further and actually print the file then
close Word?
This is the basic macro so far, I have added some margin settings...
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.