View Single Post
  #9   Report Post  
Cindy M -WordMVP-
 
Posts: n/a
Default

Hi Cjobes,

I'm stuck with a problem. We have a 1-page template that has 80 costum
labels on it. I wrote a macro in VB that will fill in the info as needed. I
am trying to create a continues number scheme based on the user imput. The
VB script works fine for the first page but if the user needs more than 80
numbers I can't find a way to add a second page. When I issue a wdPageBreak
it's just an empty space without the labels.

Assuming this is NOT mail merge (can't be sure from the discussion)...

Insert a SEQ field in each label on the page. In the very first one, add the
\r switch so that you can set the starting number. Your script can either
edit this number in the field code. Or you can set the starting number in a
custom document property and embed a DocProperty field code into the SEQ
field code.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :-)