ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Print Routine Needed (https://www.excelbanter.com/excel-programming/420990-print-routine-needed.html)

John V[_2_]

Print Routine Needed
 
Student Excel assignments come to me in a folder. Within this folder are as
many sub-folders as there are students. Within each sub-folder is one Excel
file. [Yes it is rather strange, but the files are zipped with their own
folder as an added extra bonus.]

I want to create a macro that will open each folder and print each Excel
file with the file name somewhere on the page, perhaps in a header or footer.
I would also like to specify that, as an option, it print formulas instead of
cell values.

It would be great to move the files to the parent folder too.

Any help appreciated. John V

The Code Cage Team[_124_]

Print Routine Needed
 

To be clear, your folder tree is like this?
Parent FolderStudent FolderStudent Excel.ZipExample.xls

is that correct?


--
The Code Cage Team

Regards,
The Code Cage Team
'The Code Cage' (http://www.thecodecage.com)
------------------------------------------------------------------------
The Code Cage Team's Profile: http://www.thecodecage.com/forumz/member.php?userid=2
View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=38365


John V[_2_]

Print Routine Needed
 
No, the Zip software was only involved in creating the problem. Its:

Parent/Student/student.xls

There are approximately 35 Student folders; each has one student.xls file.

HTH, John

"The Code Cage Team" wrote:


To be clear, your folder tree is like this?
Parent FolderStudent FolderStudent Excel.ZipExample.xls

is that correct?


--
The Code Cage Team

Regards,
The Code Cage Team
'The Code Cage' (http://www.thecodecage.com)
------------------------------------------------------------------------
The Code Cage Team's Profile: http://www.thecodecage.com/forumz/member.php?userid=2
View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=38365




All times are GMT +1. The time now is 07:34 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com