Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Print one cell to one page

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)

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Print one cell to one page

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).


--
Regards,
Tom Ogilvy


"asc4john" wrote:

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)


Reply
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
Macro to print text from a cell in the page footer claude jerry Excel Discussion (Misc queries) 1 August 26th 09 10:56 AM
Every file I open has print area set to one page per cell steve Excel Discussion (Misc queries) 0 December 11th 07 06:00 PM
Print area giving me 1 page per cell Coop Excel Discussion (Misc queries) 4 September 19th 07 05:36 AM
Setting the print area in page set up to print 1 page wide by 2 pages tall EA[_2_] Excel Discussion (Misc queries) 2 July 12th 07 08:39 PM
Active cell counting in particular print page (one sheet having different print area) ananthmca2004 Excel Worksheet Functions 1 November 24th 05 11:29 AM


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