Removing Print Area

G

Guest

Is there a way to totally remove the print area from a worksheet?

I have a financial spreadsheet that people download from the internet and I
want to simplify the printing process by "tagging" selected worksheets to
print and others not to print.

Note: I wish for this to happen automatically...i.e. - without the user
having to input page numbers in the print dialog or "Ctrl + selecting
worksheets".

Can anyone help?

dwadholm
 
D

Don Guillett

Sub printsheets()
Sheets("sheet1").Range("a2:c5").Printout 'Preview
Sheets("sheet2").Range("a4:d15").Printout 'Preview
'etc
End Sub
 
G

Guest

Thanks...but I am only formula saavy not tech/programming saavy. Where do I
place the code you provided/

dwadholm
 
G

Gord Dibben

I think Don meant to say this macro would be pasted into a general module, not
Thisworkbook module.

A great site for learning where to enter different types of code can be found at
Ron de Bruin's pages.

http://www.rondebruin.nl/code.htm


Gord Dibben MS Excel MVP
 
G

Guest

Thanks...I will check these out.

dwadholm

Gord Dibben said:
I think Don meant to say this macro would be pasted into a general module, not
Thisworkbook module.

A great site for learning where to enter different types of code can be found at
Ron de Bruin's pages.

http://www.rondebruin.nl/code.htm


Gord Dibben MS Excel MVP
 
D

Don Guillett

Gord,
Didn't want to confuse him if he didn't have or know how to create a general
module. Tested in the ThisWorkbook OK.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top