LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
GeorgeW
 
Posts: n/a
Default dynamic print area

I have a workbook whose rows and columns contents may vary (although the
formulas in the cells will remain because they are external links to a data
file). There are 6 sheets which all will need to use the solution
independently.

What I need to do is have my Print Area be dynamic based on the cell
contents (only print a block of cells that have non 0's and blanks).

I have a cell whose formula yields a text string which I want the Print Area
command to use. When I try to define a Name and point to the cell containing
the text string, it uses the cell location not the contents. How can I change
that?

The following formula gets my height based on amount of text in column A and
width based on Row 8.
=CONCATENATE("$A$1:"&"$"&CHAR(65+MAX(A8:V8)-1)&"$"&COUNTA(A1:A65535))
I realize this will only work for the first 24 columns but I can fix it
beyond that if I get to that point.

As stated above, I will need to apply this method to each sheet within the
workbook as they each may be different. (So I'll need different Dynamic Areas
per sheet.)

I have tried to use the OFFSET command but with no luck.

All ideas will be tried and appreciated. Thanks in advance.
George
 
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
Dynamic Range with unused formula messing up x axis on dynamic graph [email protected] Charts and Charting in Excel 2 February 2nd 06 08:02 PM
Extra Row in Defined Print Area Harry Gordon Excel Discussion (Misc queries) 3 November 14th 05 03:06 AM
Volatile print area stevepain Excel Discussion (Misc queries) 6 July 20th 05 05:46 PM
set the print area print multiple tabs veng Excel Discussion (Misc queries) 5 February 12th 05 07:01 PM
Printing - Have to set print area 1 column further than necessary STUART BISSET Excel Discussion (Misc queries) 0 January 24th 05 07:59 PM


All times are GMT +1. The time now is 03:49 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"