Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Ferree
 
Posts: n/a
Default Sequential numbering on a blank form?

I have created a blank form in Excel and I want to print 100 today and number
them sequentially. Next month, I want to start with number 101 and number
sequentially. Can I format this to print with a different number on each form
  #2   Report Post  
Posted to microsoft.public.excel.misc
DS-NTE
 
Posts: n/a
Default Sequential numbering on a blank form?

Try sth like this:

In the code module for the workbook:
Private Sub Workbook_BeforePrint(Cancel As Boolean)
Worksheets("Sheet1").Range("A1") = Worksheets("Sheet1").Range("A1") + 1
End Sub

In a standard module:

Sub PrintMe()
i = 1
For i = 1 To 100
ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True
Next i
End Sub


In A1 enter 0 and then run PrintMe

Hope you get the idea,adjust to your needs.

knut

"Ferree" skrev i melding
...
I have created a blank form in Excel and I want to print 100 today and
number
them sequentially. Next month, I want to start with number 101 and number
sequentially. Can I format this to print with a different number on each
form



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
Baffling! Spreadsheet Data Form Size Jim Excel Discussion (Misc queries) 0 May 4th 06 07:41 PM
Pleeze Help! Export Excel data into a form in a Word Doc...this one's tough! duugg Excel Discussion (Misc queries) 1 April 21st 06 02:35 PM
Automatically display sentence. Rao Ratan Singh New Users to Excel 2 January 17th 06 06:53 PM
sequential numbering of copies printed brian Excel Worksheet Functions 2 October 11th 05 10:48 PM
Sequential numbering Monique Excel Discussion (Misc queries) 0 March 4th 05 01:01 AM


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