Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need routine to set report to print on legal size for Access 2007

Status
Not open for further replies.

sts125

Programmer
Oct 19, 2007
5
US
Found routines to set a report to legal size print on the Microsoft website. There is a version for Access 97, and one for Access 2000.

I am using Access 2007. I created a new module, and pasted the Access 2000 routine in. When I execute it, it dies at this line: rpt.PrtDevMode = strDevModeExtra then drops to an error trapping message.

Does anyone have a work around in Access 2007 to set a report to Legal size print?


Here is the knowledge base article...

Thanks
 
The routine actually works in 2007. It was where I was calling it from that was the problem. Putting it in the form load in my switchboard did the trick.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top