with this I get a list of variable names
For Each avar In ActiveDocument.Variables
vari(Tæller) = avar.Name
next avar
..however it looks as if there is a caption / label as well that can differ
from the name ?
A variable named KundeAdr which is displayed as code when field codes is
shown but it displays Adresse 1 when field codes are not shown. How do I
list / modify this label ?
Thankx
Michael v.
Jezebel - 25 Apr 2005 04:35 GMT
You need to change the VALUE of the variable --
ActiveDocument.Variables("KundeAdr") = "12 Smith Street"
> with this I get a list of variable names
>
[quoted text clipped - 13 lines]
>
> Michael v.
Ulf Nilsson - 25 Apr 2005 08:11 GMT
Try this tool:
http://www.chriswoodman.co.uk/Shortcut%20Organizer.htm#Document%20Variables
A simple user interface allowing users to create, change and delete document
properties that were part of the document file could be used in macros and
fields.
/ Ulf
> with this I get a list of variable names
>
[quoted text clipped - 12 lines]
>
> Michael v.