Automatic numbering

  • Thread starter Thread starter Bob Hughes
  • Start date Start date
B

Bob Hughes

I would like to print some tickets on business cards & have the ticket
number incriment automatically. When I use the field code {AutoNumLgl} each
row has the same number. Is there a way to get each card with a different
number?

A follow up question if above is possible. How do I format numbers EG(00n)

Bob
 
Type them in manually?

The macro works: what does it matter that it is complex if it works? It take
just a few nanoseconds longer to copy and paste that a simpler (shorter)
macro.

Terry
 
That particular technique is more concerned with invoice/order numbering
(and you could store the number in a file rather than the registry - though
what the problem with storing things in the registry is I cannot imagine.
All applications store information in the registry. That's what it is for.)

However for your particular requirement
http://www.gmayor.com/Numbered_labels.htm would be a simpler alternative.

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
That particular technique is more concerned with invoice/order
numbering (and you could store the number in a file rather than the
registry - though what the problem with storing things in the registry
is I cannot imagine. All applications store information in the
registry. That's what it is for.)

However for your particular requirement
http://www.gmayor.com/Numbered_labels.htm would be a simpler
alternative.
Thank you both for replying. I actually went ahead & created an Excel file
with the number sequence & then did a mail merge. This has the added
advantage of creating the exect number of tickets I required.

I did write a function to incriment number & then insert it, but I could
not figure how to call it from word. I tried {=TicketNumber()} but that did
not work, so I took the path of least resistance :-)

Bob
 
Back
Top