Print entire workbook by default

zoneman

New Member
Joined
Mar 4, 2003
Messages
5
Hello everyone,
When Excel opens, by default, the Print Active Sheet option is bulleted.
Can someone tell me how to change this setting to Entire Workbook ?

Thanks !
 
The easiest way is to select all Sheets at the end of your code. When the user prints, it'll default to printing all sheets you selected:

Sheets(Array("Sheet1", "Sheet2")).Select
 
Upvote 0

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
I know this is extremely old, but I am also in the same boat. I have document productions with XLS, XLSx, XLSm... in the thousands that I have to convert to PDF before numbering each page. Without a way to print the entire workbook by default, the only option is to open each file individually.

Did you ever get a resolution?

I'm getting errors with the VB DIM statement (It appears the EventClass is not a valid statement).


This should do what all of you want I believe. I know it's like 3 years late but I was searching for something else and I found this thread.


Application.Dialogs(xlDialogPrint).Show , , , , , , , , , , , 3
 
Upvote 0

Forum statistics

Threads
1,223,270
Messages
6,171,102
Members
452,379
Latest member
IainTru

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top