View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Rob van Gelder[_4_] Rob van Gelder[_4_] is offline
external usenet poster
 
Posts: 1,236
Default Printing a page with cell info

An idea might be to write a formula for each row and make that cell the
Printable area.

So, in D1 you enter a number. 0 for row 1, 1 for row 2 etc..
E1:
="The owner of the tool is " & OFFSET(A1,D1,0) & ".
Tool number " & OFFSET(B1,D1,0) & " has passed inspection.
It is in " & OFFSET(C1,D1,0) & " shape."


--
Rob van Gelder - http://www.vangelder.co.nz/excel


"eyecalibrate " wrote in
message ...
Owner Tool # Condition
Dave 601 Good
Phil 1701 Poor
Steve 4545 Excellent

I have a spreadsheet (larger) but similar to the above illustration. I
enter data...Dave...601...Good.... When I get to the end of the row
I'm on a blank cell. At this point I want to run a macro (with a hot
button which I already know how to install) which will send data from
the cells in that row directly to my printer without going to a
template or any other document. I don't want it to print out in
"spreadsheet" form. I want to be able to center align the text and
embed redundant text which isn't in the row's cells; as in the
following example:

The owner of the tool is Dave.
Tool number 601 has passed inspection.
It is in Good shape.

Can anyone help me in my quest?

Thank you in advance,

Eyecalibrate


---
Message posted from http://www.ExcelForum.com/