Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default craete a print buffer in execl

Hello
i want to update a cell with a count of +1 and print the page until the
count of the updated cell say reaches 100 - i do not wish to create a
100 page workbook but only to update the cell mumericaly by one then
print the page repeatedly until the cell value is 100. so the printout
will have 100 pages with the cell in each page updated numericaly by
one
Can anyone one help
thanks morris

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default craete a print buffer in execl

Maybe you could modify this to get what you want:

Option Explicit
Sub testme()

Dim wks As Worksheet
Dim myCell As Range
Dim iCtr As Long

Set wks = Worksheets("sheet1")

With wks
Set myCell = .Range("a1")
myCell.Value = 0 'set it back to 0
For iCtr = 1 To 4 '100 after testing
With myCell
.Value = .Value + 1
End With
.PrintOut preview:=True
Next iCtr
End With

End Sub


morrisg wrote:

Hello
i want to update a cell with a count of +1 and print the page until the
count of the updated cell say reaches 100 - i do not wish to create a
100 page workbook but only to update the cell mumericaly by one then
print the page repeatedly until the cell value is 100. so the printout
will have 100 pages with the cell in each page updated numericaly by
one
Can anyone one help
thanks morris


--

Dave Peterson
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
Print separate reports with same column heading [email protected] Excel Discussion (Misc queries) 4 September 1st 06 09:46 PM
Conditional formats don't print Mark Lincoln Excel Discussion (Misc queries) 0 August 25th 06 06:26 PM
Execl print to fit paper Octavio New Users to Excel 1 January 22nd 06 05:31 PM
Extra Row in Defined Print Area Harry Gordon Excel Discussion (Misc queries) 3 November 14th 05 03:06 AM
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 06:06 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"