![]() |
#9
|
|||
|
|||
![]()
An update on how Paul's assistance led me to a functional macro
Rather than restricting to .txt and .log changed the code for a macro I could apply to any file. Code:
Sub LandscapeLST9() ' ' LandscapeLST9 Macro ' Application.ScreenUpdating = False Dim i As Long With ActiveDocument .PageSetup.Orientation = wdOrientLandscape .PageSetup.TopMargin = CentimetersToPoints(0.6) .PageSetup.BottomMargin = CentimetersToPoints(0.6) .PageSetup.LeftMargin = CentimetersToPoints(0.6) .PageSetup.RightMargin = CentimetersToPoints(0.6) End With With Selection.Font .Name = "Lucida Sans Typewriter" .Size = 9 End With Application.ScreenUpdating = True End Sub Many thanks Paul |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Default date format | gebobs | Excel | 0 | 03-03-2015 10:16 AM |
![]() |
pstein | Word | 1 | 01-11-2012 09:30 AM |
Format Picture... Is there a Style-like default? | Bobosmite | Word | 0 | 07-19-2010 06:26 PM |
How to set Message Format default | TonyBender | Outlook | 0 | 10-27-2009 11:52 AM |
![]() |
boutells | Excel | 1 | 05-20-2009 02:46 PM |