I posted the following thread on the EXCEL MISC forum. User Cheeky Charlie suggested I post this in the programming board:
I do computer forensic, accounting, and legal work. I have 1000's of excel files and word files that I need to print WITH their file names. This is very important. I know how to print out the 1000 files easily. But how do I get every file and document to print with it's file name?
I know how to do this one by one--by inserting the name in excel and word via the header/footer option. But i have no clue how to do this in a "batch".
The problem is also that when I print lets say 100 documents, it does not follow the order (alphabetical) listed in it's folder. If it was printed in the same order, I would just manually write the name of the document itself. I think there is an easier way?
Any advice is appreciated. (My excel knowlege/level is probably advanced beginner).
Per cheeky Charlie: You could use a macro using file scripting to cycle through files in a folder and apply a footer of &[file] automatically - probably ought to ask about this in the programming thread though, it's not totally straightforward.
Per Martindwilson: i've had a look and apparantly this can be done in a class module, then save as xla and use as addin , unfortunately the script i foundwas written for a mac, and i couldnt get it to run on excel97.
Bookmarks