[AccessD] LeftMargin RightMargin Acc2000 Report Question

Edward S Zuris edzedz at comcast.net
Thu Apr 17 10:11:25 CDT 2008


 Is there anything like the following in Access 2000 VBA ?

 = = = = = = = = = = = = = = = = = = = = = = = = =
             From Word 2000 VBA
 = = = = = = = = = = = = = = = = = = = = = = = = =

    With ActiveDocument.PageSetup
        .LineNumbering.Active = False
        .Orientation = wdOrientPortrait
        .TopMargin = InchesToPoints(0.7)
        .BottomMargin = InchesToPoints(0.6)
        .LeftMargin = InchesToPoints(0.5)
        .RightMargin = InchesToPoints(0.4)
        .Gutter = InchesToPoints(0)
        .HeaderDistance = InchesToPoints(0)
        .FooterDistance = InchesToPoints(0)
        .PageWidth = InchesToPoints(8.5)
        .PageHeight = InchesToPoints(11)
        .FirstPageTray = wdPrinterDefaultBin
        .OtherPagesTray = wdPrinterDefaultBin
        .SectionStart = wdSectionNewPage
        .OddAndEvenPagesHeaderFooter = False
        .DifferentFirstPageHeaderFooter = False
        .VerticalAlignment = wdAlignVerticalTop
        .SuppressEndnotes = False
        .MirrorMargins = False
        .TwoPagesOnOne = False
        .GutterPos = wdGutterPosLeft
    End With

 = = = = = = = = = = = = = = = = = = = = = = = = 




More information about the AccessD mailing list