I realize that this is an old question, but I didn't see the answer I use here. If you want to print these on a schedule for some reason, I suppose you could make the file containing the macro run it with AutoOpen and even close when done and just schedule that macro-enabled file to be opened via the Task Scheduler. Microsoft has example code for reading a directory. If the docs you want to print are all of the docs in a given folder, we could do that too. We'd need to write a loop to print all of the docs you want. Set objWord = CreateObject("Word.application") 'Start app Would a macro be acceptable? Here's the basic code needed to open and print a Word doc from a macro: Sub PrintDocMacro() I'm thinking that this is more than just a one time need (otherwise you can use the Windows UI to select multiple documents, right-click, and choose print). However it with my testing it only works with up to 15 documents at a time (I guess it is to prevent an accidental catastrophe by printing the wrong folder.) In windows you can select multiple files right click and choose print and it will print all that you selected
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |