Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
needhelp
 
Posts: n/a
Default need to make a cell with numbers ascend when printed in multiple?

I need to print out 100 plus sheets, with a cell to change numbers in-between
each sheet in ascending numbers. How do i do that?
  #2   Report Post  
Bernie Deitrick
 
Posts: n/a
Default

If you want 100 copies of one sheet, and if the cell is A1, then

Dim i As Integer

For i = 1 To 100
Range("A1").Value = i
Activesheet.PrintOut
Next i

If you have 100+ sheets, and you want to have an incremented number in each
of their cell A1:

Dim i As Integer
Dim mySht As Worksheet

For Each mySht In ActiveWorkbook.Worksheets
i = i + 1
mySht.Range("A1").Value = i
mySht.PrintOut
Next mySht

HTH,
Bernie
MS Excel MVP


"needhelp" <needhelp @discussions.microsoft.com wrote in message
...
I need to print out 100 plus sheets, with a cell to change numbers

in-between
each sheet in ascending numbers. How do i do that?



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
Copy cell format to cell on another worksht and update automatical kevinm Excel Worksheet Functions 21 May 19th 05 11:07 AM
numbers being entered show in formula bar but not in cell? Jim in Florida Excel Discussion (Misc queries) 2 May 13th 05 06:36 PM
Averaging Numbers when 2 numbers in one cell Ourania Excel Worksheet Functions 8 January 12th 05 06:40 PM
make a cell empty based on condition mpierre Charts and Charting in Excel 2 December 29th 04 01:01 PM
GET.CELL Biff Excel Worksheet Functions 2 November 24th 04 07:16 PM


All times are GMT +1. The time now is 01:04 AM.

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"