I need to print a workbook with a variable number of worksheets.
However, I don't need the first 3 worksheets of the book. It also
needs to be collated. I need to create a macro or VB loop to make it
automatic from a command button. Any ideas?
Thanks in advance,
Josh
JMac,
Assuming the first three worksheets are only one page long each.
Try this:
After you have added your command button.
Enter "Design mode".
Select button, view code.
After Private Sub CommandButton1_Click()
Type the following:
ActiveWorkbook.PrintOut (Page4), Collate = True
Close and save.
Give it a try.
hth
:-)
> I need to print a workbook with a variable number of worksheets.
> However, I don't need the first 3 worksheets of the book. It also
[quoted text clipped - 4 lines]
>
> Josh