Friday, March 16, 2007

VBA Tip: Use PrtDevMode to set Printer Settings in Access 2 to Access 2000

Office XP introduced the VBA Printer object, but it is not widely know that you can use the PrtDevMode property of a form or report object in VBA to set/return printer properties such as page size and orientation. Search for PrtDevMode in Access Help.

No comments: