Hello -
I have a working script to loop through an outlook folder and print both the message and attachments but the message and associated attachments don't print out in the proper order (message first followed by the attachments). Using debugging I can see they are pushed in the correct order pairings, but they get out of order when they move to the print queue. I'm assuming this is caused by the order in which they are spooled due to the varying file types and sizes of the messages and attachments.
Does anyone have any suggestions on how to ensure the message and attachments print in the correct pairing? I've read a few posts about printing to PDFs, which would solve the problem as long as the message and the attachment are written to same PDF, but I haven't found any vba code to do this in batch.
Any help or guidance would be appreciated.
I have a working script to loop through an outlook folder and print both the message and attachments but the message and associated attachments don't print out in the proper order (message first followed by the attachments). Using debugging I can see they are pushed in the correct order pairings, but they get out of order when they move to the print queue. I'm assuming this is caused by the order in which they are spooled due to the varying file types and sizes of the messages and attachments.
Does anyone have any suggestions on how to ensure the message and attachments print in the correct pairing? I've read a few posts about printing to PDFs, which would solve the problem as long as the message and the attachment are written to same PDF, but I haven't found any vba code to do this in batch.
Any help or guidance would be appreciated.