Automatic numbering

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
 
T

Terry Farrell

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
 
G

Graham Mayor

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


<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
B

Bob Hughes

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top