View Single Post
  #15   Report Post  
Posted to microsoft.public.word.docmanagement
chaucersmom chaucersmom is offline
external usenet poster
 
Posts: 15
Default Shipping Label Design

Thanks Peter for allowing me to clarify what I meant:

I only put the {Docvariable} in the template. The program was supposed to
replace the bracketed codes with the appropriate information from my Outlook
contacts into a shipping label.

The document that I saved was the result of running the program -- it was to
be a shipping label with the name and address replacing the Docvariables. It
was based on a template that I had created. I didn't save it over the
Template. The way I discovered the strange behavior, that is, the info
lurking in the background, was simply an accident.



"Peter T. Daniels" wrote:

You don't want to put any actual data into a template (.dotx), because
then it will appear in every document, i.e., label, that you base on
that template!

On Jul 30, 2:34 pm, chaucersmom
wrote:
Yea, Doug, I'm almost there! This is a great program for me.

After changing the name of the file in the program to .dotx, my template
opened in Word, but the variables weren't filled in with the name and
address. (Just had the Docvariable lines that were in the template.)

Interestingly, when I saved the "label" which I made with your program, it
suggested as a name for the document, the name of the person for whom I was
making the label, even though that name wasn't visible in the document! The
same thing happened when I began with the "company", that is it suggested to
save it as the company name. But if I eliminated both the name and the
company from the template and then made a label, it suggested to save it as
the company name.

I think I'm a little confused as to how the program "knows" what the
separate parts of the address (city, state, zip, etc) since I enter the
address in the address box as I would if I were addressing an envelope as
follows:

5 Main Street
Cocoa, VA 24544

I am so close to debugging this that I hope you can help. Using Office and
Outlook 2007.