Let's say that I have a workbook with 3 worksheets, "Sheet 1", "Sheet 2", and "Sheet 3". Now I want to print only "Sheet 1" so in VBA I used
Sheets("Sheet 1").PrintOut
But the macro still print all 3 worksheets. What happened that cause it to print all 3 sheets when I specifically write the code to only print 1?
Activesheet.Printout 'also print all worksheets.
I'm using: Microsoft Excel Professional Plus 2010