2e pagina liggend

Status
Niet open voor verdere reacties.

remcop1989

Gebruiker
Lid geworden
29 mrt 2012
Berichten
492
Ik ben opzoek naar een macro die standaard ENKEL de 2e pagina in een Word document liggend maakt.

Is dit mogelijk en zo ja hoe?
 
Ik weet het niet zeker, kun je bij de pagina-instellingen dat niet instellen??

EDIT : Ik kreeg het zojuist niet voorelkaar, sorry
 
Laatst bewerkt:
Die macro ziet er zo uit:
Code:
Sub PaginaLiggend()
    
    Selection.GoTo What:=wdGoToPage, Which:=wdGoToNext, Name:="2"
    ActiveDocument.Range(Start:=Selection.Start, _
        End:=Selection.Start).InsertBreak Type:=wdSectionBreakNextPage
    Selection.Start = Selection.Start + 1
    ActiveDocument.Range(Start:=Selection.Start, _
        End:=ActiveDocument.Content.End).PageSetup.Orientation = wdOrientLandscape
    Selection.GoTo What:=wdGoToPage, Which:=wdGoToNext, Count:=1, Name:=""
    ActiveDocument.Range(Start:=Selection.Start, _
        End:=Selection.Start).InsertBreak Type:=wdSectionBreakNextPage
    Selection.Start = Selection.Start + 1
    ActiveDocument.Range(Start:=Selection.Start, _
        End:=ActiveDocument.Content.End).PageSetup.Orientation = wdOrientPortrait
End Sub
Zal nog wel slimmer kunnen, maar deze doet het in ieder geval prima.
 
Status
Niet open voor verdere reacties.
Terug
Bovenaan Onderaan