Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Limit Printing on specific worksheets in Excel

Here's my problem:

I was able to find some code to disable printing for the entire
workbook:

http://groups.google.ca/group/micros...969e4036463e2c

But...I would like to limit printing on some pages and not others.
Here's my situation. I have month A's schedule completed and ready for
distribution. I don't have month B's schedule ready yet. I don't want
any user to be able to print month B's schedule but at the same time I
don't want to have to hide and unhide it all the time. Is there a
happy medium?

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,345
Default Limit Printing on specific worksheets in Excel

wrote in message
oups.com...

Here's my situation. I have month A's schedule completed and ready for
distribution. I don't have month B's schedule ready yet. I don't want
any user to be able to print month B's schedule


You could write a BeforePrint Macro but then you would never be able to
print anything else. You could add an option in the BeforePrint Macro to
ask if you want to set the Print Area and exit the Sub() if not but then any
user could select that option and thus print Month B's before it is ready.

A third option would be to have the BeforePrint Macro to check an entry in
the spreadsheet and if it has the right data, (which only you know), exit
the Sub()

What exactly is it you want to do?
--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


with @tiscali.co.uk



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Limit Printing on specific worksheets in Excel

Disable printing with the workbook_beforeprint event.

Provide a macro that only prints what you want to print.

In that macro, you'll have to disable events before you try to print, though.



wrote:

Here's my problem:

I was able to find some code to disable printing for the entire
workbook:

http://groups.google.ca/group/micros...969e4036463e2c

But...I would like to limit printing on some pages and not others.
Here's my situation. I have month A's schedule completed and ready for
distribution. I don't have month B's schedule ready yet. I don't want
any user to be able to print month B's schedule but at the same time I
don't want to have to hide and unhide it all the time. Is there a
happy medium?


--

Dave Peterson
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Printing Specific data from Excel worksheet Newtonboy Excel Discussion (Misc queries) 6 July 5th 06 11:23 AM
Character limit when printing Neil Conduit Excel Discussion (Misc queries) 1 June 1st 06 02:54 PM
Is there a limit to the number of worksheets in an excel file? NIRVL Excel Discussion (Misc queries) 1 March 16th 05 04:02 PM
printing worksheets in Excel BGA Excel Discussion (Misc queries) 1 February 17th 05 04:24 PM
anyway to limit printing of documents Soe Nandar Excel Discussion (Misc queries) 2 January 27th 05 12:20 AM


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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"