View Single Post
  #5   Report Post  
Dave Peterson
 
Posts: n/a
Default

Can you pick out a column that always has data if that row is used?

If you can, then maybe this old post will help you (I used column A):

Insert|Name|Define
Names in workbook: Sheet1!LastRow
Use this formula
Refers to: =LOOKUP(2,1/(Sheet1!$A$1:$A$1000<""),ROW(Sheet1!$A$1:$A$1000) )

(Make that 1000 big enough to extend past the last possible row.)

Then once mo
Insert|Name|Define
Names in workbook: Sheet1!Print_Area
Use this formula
Refers to: =OFFSET(Sheet1!$A$1,0,0,lastRow,3)

That last 3 represents the last column to print (A:C in my example).

And change the worksheet (sheet1) if necessary (in all the places).

Stuart wrote:

I have an Excel worksheet that when i print preivew indicates me printing the
whole lot. i have hidden formuli that run right to the bottom of the sheet,
but i only want to print up to the row that has any actual data in. how do i
do this?


--

Dave Peterson