Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default How to restrict printing certain sheets

Hi,

I have a xls workbook in excel 2003 with multiple sheets with buttons,
protection, some sheets hided. I want users of this worksheet to be
able to print only certain sheets and restrict printing other sheets.
Is that possible?

Thanks,
sermest
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 515
Default How to restrict printing certain sheets

set the print area to one cell, eg A1, then protect the sheet. Of course,
you would need a macro to do not only this, but also to reset the print range
when you do want to print, and again set it to A1, after printing.
Alternatively, use a macro to set the visibility of the sheet to
XLVeryHidden, which means it is not visible, cannot be unhidden, except with
code, and can therefore not be printed.

--
HTH

Kassie

Replace xxx with hotmail


"sermest" wrote:

Hi,

I have a xls workbook in excel 2003 with multiple sheets with buttons,
protection, some sheets hided. I want users of this worksheet to be
able to print only certain sheets and restrict printing other sheets.
Is that possible?

Thanks,
sermest

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,231
Default How to restrict printing certain sheets

Kassie wrote...
set the print area to one cell, eg A1, then protect the sheet. *Of course,
you would need a macro to do not only this, but also to reset the print range
when you do want to print, and again set it to A1, after printing. *
Alternatively, use a macro to set the visibility of the sheet to
XLVeryHidden, which means it is not visible, cannot be unhidden, except with
code, and can therefore not be printed.


Subject to the caveats that users can always disable macros in any
particular workbook, internal password protection is easily overcome,
and macros in OTHER workbooks can operate on workbooks opened with
their own macros disabled. IOW, no robust way to prevent moderately
sophisticated users from obtaining access to EVERYTHING in any
workbook they can open.
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 Sheets sorryipurchased Excel Discussion (Misc queries) 0 January 20th 10 06:31 PM
Restrict / Stop Printing Phendrena Excel Discussion (Misc queries) 3 November 9th 07 05:27 PM
Macro to restrict printing to black and white dalymjl Excel Discussion (Misc queries) 2 October 19th 07 09:40 AM
How to restrict printing to only completed tables in spreadsheet?. Karen@NS Excel Discussion (Misc queries) 0 June 21st 06 07:49 PM
Restrict access to certain sheets Jelinek Excel Discussion (Misc queries) 3 May 11th 06 08:10 PM


All times are GMT +1. The time now is 02:25 PM.

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

About Us

"It's about Microsoft Excel"