MS Access Print Report using VBA
Posted
by LanguaFlash
on Stack Overflow
See other posts from Stack Overflow
or by LanguaFlash
Published on 2010-04-18T01:06:13Z
Indexed on
2010/04/18
1:13 UTC
Read the original article
Hit count: 413
I have a very VBA intensive report. When I preview it everything is great but when I print it after previewing things go wacky. I have spent many hours narrowing down the possibilities and I have conclude with a certain level of confidence that it is a but in MS Access.
Up to this point my method for printing reports was to open the report using docmd.openreport "report"
. I then use the docmd.printout
command so that I can set the page range, collation etc.
Is there a way to print a report directly and still be able to set options like page rage, collate etc without doing a preview first?
Thanks, Jeff
© Stack Overflow or respective owner