123FakeSt
IS-IT--Management
- Aug 4, 2003
- 182
It is possible to open an Access Report in Preview mode, choose Print and then select Print to File.
I need to automate this in a VBA module and the process of naming the .prn file, but can't find it in Docmd.OpenReport, Docmd.PrintOut, or Docmd.RunCommand acCmdPrint.
I hope there is a better way than creating a printer that prints to the :FILE port with the new name each time.
Any ideas?
I am attempting this because i have a multi-application set of reports to automate and want them to print out in order. By naming the .prn files customly I can then loop through them and send them to the printer in order after all of the files have been created.
The early bird gets the worm, but the second mouse gets the cheese.
I need to automate this in a VBA module and the process of naming the .prn file, but can't find it in Docmd.OpenReport, Docmd.PrintOut, or Docmd.RunCommand acCmdPrint.
I hope there is a better way than creating a printer that prints to the :FILE port with the new name each time.
Any ideas?
I am attempting this because i have a multi-application set of reports to automate and want them to print out in order. By naming the .prn files customly I can then loop through them and send them to the printer in order after all of the files have been created.
The early bird gets the worm, but the second mouse gets the cheese.