Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Consecutive Numbering

Status
Not open for further replies.

Greg25

Technical User
May 30, 2001
159
US
I have a pre-printed form and would like to print Consecutive Numbers on the forms

word excel or access

and how would this be acomplished

any help would be great Greg
X-)
 
Excel
Use blank paper in the printer, and arrange the spreadsheet to print a number in the font and location desired. Use a light table or an outside window pane to overlay the printout with the pre-printed form.

Assume the cell with the number (that prints out correctly) is located in E10 after you have adjusted rows and column widths. Now create the following macro code :

Sub PrintPagesNow()
For PageCount = 1 To 8 ' will print 8 pages consecutively
ActiveWindow.SelectedSheets.PrintOut Copies:=1
CurrentCount = ActiveSheet.Rows(10).Columns(5) ' Get the value from E10
ActiveSheet.Rows(10).Columns(5) = CurrentCount + 1 ' Store new value to E10
Next PageCount


It's really not as bad as it may "read". I previously did this all the time for explosives inventory and equipment maintenance sheets.
 
thanks i will look into this more
Greg
X-)
 
for got to metion i know nothing about excel Greg
X-)
 
NOW you tell me !!

Looks like you may be learning it ....... or delegating !!
 
Thank s for the info
looks like i will do a
mail merage
from excel to word
did some test it seems
to work
Thanks Greg
X-)
 
wow was that ever complicated....

open a new spreadsheet

in cell A1 put the first number you want
select the number of cells you want numbered

1.

Edit
Fill
Series
Make sure the Step value is at 1, and it's a linear growth then hit ok.

You can do this with any number or alpha numeric combination, and in any steps (like every 14.3 for the step value) - it's fast and easy and what Excel was made to do :eek:)

AidanEnos
 
AidanEnos
Re-read the original post.
The consecutive values must be printed on existing published forms.
 
I read his request differently, your reply gives him numbered pages, mine gives him a list of consecutive numbers down a section of the page. I'm assuming there is a list somewhere on the page that he wants to number the lines - but his request is unclear.

Didn't mean to stomp over your parade - I didn't even read your response fully the first time I posted because he didn't ask how to do page numbers... I'd just tell him to us MS Word Edit header, Page [&page] of [&pages] then hit file, print pages 1-20 or however many page numbers he wants.

Sorry to come off offensive, I didn't want to create conflit, just offer a simple answer depending on what he was really asking for.

AidanEnos
 
No stomping inferred. Sorry if it read that way.

A secretary of mine used to run final reports through Wordperfect all the time to renumber the completed document after all charts, maps, and drawings had been finalized.

I would have suggested Word but didn't know if Greg25 would get complete control over the placement onto the preprinted forms as easily as Excel. Well, at least for me !!
 
Placement in Word....

Just put what you want in a text box then drag it wherever you want it :eek:)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top