Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
i have approx 45 spreadsheets in a directory (directory is
"c:\SCRIPTS". Each spreadsheet has 3 worksheets. Is there a simple macro (VBA) which can open up each workbook in turn and then print the entire workbook and then close spreasheet and go on to next one. I presume gthe VBA is something along the lines of 1) Read the names of *.xls files in directory "c:\SCRIPTS" and store this info 2) Open the file 3) Then ActiveWorkbook.PrintOut Copies:=1, Collate:=True This will print all worksheets 4) Then ActiveWindow.Close to close workbook 5) Go back to (2) and open next file Can anyone help me with the code for (1), (2) and (5) Regards Steve Fisher |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Printing an Excel Spreadsheet | Excel Discussion (Misc queries) | |||
Printing Excel Worksheets | Excel Discussion (Misc queries) | |||
Printing Filtered Excel Worksheets | Excel Discussion (Misc queries) | |||
Duplex printing an Excel Spreadsheet | Excel Discussion (Misc queries) | |||
printing worksheets in Excel | Excel Discussion (Misc queries) |