ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Limit Printing of Worksheets. (https://www.excelbanter.com/excel-programming/297092-limit-printing-worksheets.html)

DAnny

Limit Printing of Worksheets.
 
Hi,

I have 14 worksheets in my workbook, say, named sheet 1 to
sheet 14.

It is possible to have a macro so the user can print ONLY
ONCE from sheet 1 to sheet 4?

Thanks

Charles

Limit Printing of Worksheets.
 
Danny,

Something like this should work.
You should also set the print area to be printed.


Sub Print_worksheet()
Worksheets("sheet1").PrintOut
Worksheets("sheet2").PrintOut
Worksheets("sheet3").PrintOut
End Sub

HTH

Charle

--
Message posted from http://www.ExcelForum.com



All times are GMT +1. The time now is 10:04 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com