Jump to content

Recommended Posts

Posted

Hi,

 

I have a macro set up in Excel which prints certain worksheets from a workbook. This works fine, however all the sheets print as separate print jobs. I would like to find a way to change the code so that only one print job is created. The sheets need to be printed in the order of the code below, which is not the same order as the tabs in the worksheet. Changing the order of the tabs is not an option.

 

Any help appreciated!

 

Current Code:

 

Sub WorkSheetWithFoam()
   
  'Select the printer to print to
  If (Application.Dialogs(xlDialogPrinterSetup).Show) = True Then

  On Error Resume Next
   Sheets("Drawing").Select
   Sheets("Foam").PrintOut
   Sheets("Fitting").PrintOut
   Sheets("Extr.").PrintOut
   Sheets("Exterior").PrintOut
   Sheets("Timber").PrintOut
   Sheets("Timber").PrintOut
   Sheets("Drawing").PrintOut
   Sheets("Card").PrintOut
   Sheets("Summary").PrintOut
   Sheets("Input").PrintOut
   
   Else
   End If

End Sub

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...