ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Print Range not connected (https://www.excelbanter.com/excel-worksheet-functions/250841-print-range-not-connected.html)

Tami

Print Range not connected
 
I want to print a range that is A1:F100 and M1:Z100. so basically i want to
print A1:Z100 but exclude columns G:L. i tried range naming the A1:F100 and
M1:Z100 as print_range and the name works but i can't use print_range as a
print area in my print macro.

this non-contiguous range name does work in macros when i'm asking to open
and close it but not as a print range.
is there a solution?
tami

Tom Hutchins

Print Range not connected
 
Why not set your print area as A1:Z100 and hide columns G:L while the sheet
is being printed? Your macro can then unhide them after printing.

Hope this helps,

Hutch

"Tami" wrote:

I want to print a range that is A1:F100 and M1:Z100. so basically i want to
print A1:Z100 but exclude columns G:L. i tried range naming the A1:F100 and
M1:Z100 as print_range and the name works but i can't use print_range as a
print area in my print macro.

this non-contiguous range name does work in macros when i'm asking to open
and close it but not as a print range.
is there a solution?
tami



All times are GMT +1. The time now is 10:17 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com