Print one cell to one page

  • Thread starter Thread starter asc4john
  • Start date Start date
A

asc4john

How do I print each cell of a worksheet to a page. That is one cell to
one piece of paper.
This is for an odd little task a fellow co-worker needs to do.
He is currently doing it by hand but I assume this is something VBA
should be able to do easily.
(I am not an Excel user but am quite familiar with VBA and Access)
 
Select all the cells you want to print one at a time and run this macro

Sub PrintSelection()
Dim cell as Range
For each cell in Selection
cell.printout
Next
End Sub


do alt+F11 to go to the VBE (VB Editor). Then insert=>Module from the memo
and paste in that code. Then go back to excel and you can select the macro
in Tools=>Macro=>Macros, select the macro and hit run (after you select the
cells).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top