PrintOut In VB (ms access)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Peader
    New Member
    • Oct 2007
    • 19

    PrintOut In VB (ms access)

    Hi,

    Does anybody know the VB code for the PrintOut Action i can use in ms access?

    Code:
    DoCmd .printout
    is a no brainer, but how do i go from here to specifying:
    Print Range
    Page From
    Page To
    Print Quality
    Copies
    Copies Collated

    An example would be nice :)

    Thanks
  • Peader
    New Member
    • Oct 2007
    • 19

    #2
    I think I've solved my own question!! :)

    For other peoples reference in the future

    Code:
    DoCmd.PrintOut(PrintRange, PageFrom, PageTo, PrintQuality, Copies, CollateCopies)
    And a more complete description given by the people over at microsoft here:

    Comment

    Working...