Home |
Search |
Today's Posts |
|
#1
|
|||
|
|||
Need Help With Macro for Page Setup
Hello,
I am trying to create two macros, one for setting up the pages for single-sided printing (Page Breaks = New Page) and one for double-sided printing (Page Breaks = Odd Page). I have tried using the recorder and just typing in the macro, but I keep getting the same error: "Run-time error '4608': Value out of range" I am using Windows 2000 and Word 2000. Here's what my 2 macros look like: Sub MakeSingleSided() Selection.HomeKey Unit:=wdStory With ActiveDocument.PageSetup .SectionStart = wdSectionNewPage .OddAndEvenPagesHeaderFooter = False End With End Sub Sub MakeDoubleSided() Selection.HomeKey Unit:=wdStory With ActiveDocument.PageSetup .SectionStart = wdSectionOddPage .OddAndEvenPagesHeaderFooter = True End With End Sub Any help would be appreciated! Thanks, Amy |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Table in a Form | Tables | |||
Possible bug when recording a Word Macro | Microsoft Word Help | |||
Running document macro from server | New Users | |||
Save As is not working due to macro security settings | Microsoft Word Help | |||
2000 to 2002 macro and "Could not open macro storage" | Mailmerge |