Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 70
Default Print Range Setup

Is there a way to setup/format a Worksheet so that it wont print anything
outside of A1:N116 but it can print any selection within that range?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,346
Default Print Range Setup

Hi,

There is nothing built into Excel to do this.

However, you can accomplish the same thing by doing this, suppose the only
range that you want the user to be able to print from is A1:G19:

1. Select colums H:IV and hide them
2. Select rows 20:65536 and hide them
3. Select the range A1:G19 and choose Format, Cells, Protection, and
uncheck Locked
4. Choose Tools, Protection, Protect Sheet and assign a password.

Now the user can select any part of the range A1:G19 and print it but can't
print anything else.

--
If this helps, please click the Yes button

Cheers,
Shane Devenshire


"MCheru" wrote:

Is there a way to setup/format a Worksheet so that it wont print anything
outside of A1:N116 but it can print any selection within that range?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 70
Default Print Range Setup

Very creative. Thank you.

"Shane Devenshire" wrote:

Hi,

There is nothing built into Excel to do this.

However, you can accomplish the same thing by doing this, suppose the only
range that you want the user to be able to print from is A1:G19:

1. Select colums H:IV and hide them
2. Select rows 20:65536 and hide them
3. Select the range A1:G19 and choose Format, Cells, Protection, and
uncheck Locked
4. Choose Tools, Protection, Protect Sheet and assign a password.

Now the user can select any part of the range A1:G19 and print it but can't
print anything else.

--
If this helps, please click the Yes button

Cheers,
Shane Devenshire


"MCheru" wrote:

Is there a way to setup/format a Worksheet so that it wont print anything
outside of A1:N116 but it can print any selection within that range?

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,766
Default Print Range Setup

Hi,

Not sure of what you mean but you can use Page Setup Sheet Print Area

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"MCheru" wrote in message
...
Is there a way to setup/format a Worksheet so that it wont print anything
outside of A1:N116 but it can print any selection within that range?


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 70
Default Print Range Setup

I meant those are the steps I take.

"Ashish Mathur" wrote:

Hi,

Not sure of what you mean but you can use Page Setup Sheet Print Area

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"MCheru" wrote in message
...
Is there a way to setup/format a Worksheet so that it wont print anything
outside of A1:N116 but it can print any selection within that range?





  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 896
Default Print Range Setup

would this help?

Private Sub Workbook_BeforePrint(Cancel As Boolean)

On Error Resume Next
Intersect(Range("A1:N116"), Selection).PrintOut

End Sub



On 24 Lut, 05:34, MCheru wrote:
Is there a way to setup/format a Worksheet so that it won’t print anything
outside of A1:N116 but it can print any selection within that range? *


  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 70
Default Print Range Setup

O interesting. I hadn't thought of this. Thank you!

"Jarek Kujawa" wrote:

would this help?

Private Sub Workbook_BeforePrint(Cancel As Boolean)

On Error Resume Next
Intersect(Range("A1:N116"), Selection).PrintOut

End Sub



On 24 Lut, 05:34, MCheru wrote:
Is there a way to setup/format a Worksheet so that it wont print anything
outside of A1:N116 but it can print any selection within that range?



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
Print Range Setup MCheru Setting up and Configuration of Excel 2 March 27th 09 03:10 AM
Copy of Print Setup Rob Conder Setting up and Configuration of Excel 2 December 3rd 08 01:25 AM
How do I protect the print setup? fraborah Excel Discussion (Misc queries) 0 April 17th 08 02:58 AM
Global Print Setup Steve Williams Setting up and Configuration of Excel 0 November 21st 05 09:37 PM
Print range setup Patty via OfficeKB.com Excel Discussion (Misc queries) 2 October 14th 05 07:06 PM


All times are GMT +1. The time now is 05:31 PM.

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"