Print files with macro in Order! (1 Viewer)

windzz

New member
Local time
Today, 11:27
Joined
Oct 2, 2020
Messages
3
Hello,

I am trying to make a team macro in Excel:
1st Macro gets Folder Path by selecting location of folder.
Then in excel, there are lines, that fill in the file names (for example all PDF.'s that are in the folder)
2nd Macro is called Print Loop. It goes trough the array of file names, and sends them to the Printer to print.
Macro works, but only problem:
When printer prints, it mixes the sheets. It is a total chaos! Is it possible to send some feedback to macro from printer, or to make macro work so that it would keep the order of file named and printed files ?

I attach the Macro excel file. Everything is under "Print_Files" sheet

1601663710207.png
 

Attachments

  • SMART PRINT EXCEL.zip
    28.8 KB · Views: 122

Isaac

Lifelong Learner
Local time
Today, 01:27
Joined
Mar 14, 2017
Messages
8,774
Should be moved to Excel forum?
 

theDBguy

I’m here to help
Staff member
Local time
Today, 01:27
Joined
Oct 29, 2018
Messages
21,449
Hi @windzz. Welcome to AWF!

I have moved your topic to the Excel Forum as suggested.
 

arnelgp

..forever waiting... waiting for jellybean!
Local time
Today, 16:27
Joined
May 7, 2009
Messages
19,229
try if it is fixed.
 

Attachments

  • SMART PRINT EXCEL.zip
    35.7 KB · Views: 197

arnelgp

..forever waiting... waiting for jellybean!
Local time
Today, 16:27
Joined
May 7, 2009
Messages
19,229
ok, stay safe!
 

windzz

New member
Local time
Today, 11:27
Joined
Oct 2, 2020
Messages
3
@arnelgp , thank you for your effort in this code!
i tried it and if the printing pages are within one pdf, everything prints in order.
but the problem still remains with overall order of pdf sequence. all pdf's are printed in random order still.
 

arnelgp

..forever waiting... waiting for jellybean!
Local time
Today, 16:27
Joined
May 7, 2009
Messages
19,229
then you need to talk to your it to configure your network printer to fix the Queueing of the printjobs.
 

Users who are viewing this thread

Top Bottom