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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

want to know when report is done printing

Status
Not open for further replies.

natatbh

Programmer
Dec 18, 2002
81
US
I am printing a report to a file. I want to know when the the printing is done and the file is fully created. How can I check this using vba.

thanks,
natatbh
 
"One approach" off the top of my head, is to use the FileScript objects to see if the file exists and check the filesize to make sure it is growing in a loop. Once the filesize has stopped growing after a few loops, then the file is most likely done being created. htwh,

Steve Medvid
"IT Consultant & Web Master"
e-Mail: Stephen_Medvid@GMACM.com

Chester County, PA Residents
Please Show Your Support...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top