Find out when printing is ready

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a function that prints a report to a pdf file. After printing, I
create an email an attach the just printed pdf. However, when running this
function on a network, sometimes the printing is not jet finished when the
macro creates to email and tries to attach the pdf.
Does anybody know how you can find out if the printing proces is finished,
so that I can continou running the function ???
 
Hi,
what you can try - is to open file in exclusive mode, if this fail - then
file is still "printed"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top