• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Printing all files in a directory

Shay A

Member
Hi,
Is there a way to use VBA coding to print all files in a certain folder? And by that I mean All of the sheets in each Workbook.

Thanks,
Shay
 
Hi,
I forgot to mention that it would be best to print all of the workbooks without having to go into each of thembqnd print it out.

TY
 
Option Explicit

Sub printout()
Dim sh_name As Variant
Dim i As Integer
Dim sh As Worksheet

For i = 1 To Sheets.Count


Sheets(i).printout

Next i



End Sub
 
it is to loop through the active WB and print all sheets
you will need to develop it to your requirement
good luck
 
Back
Top