I want to add variables to a template.
When I add the variables & run the code, the next time I open the template it seems the variables have been saved to the template instead of needing to be added with each document instance of the template?
How do I add the variable to the template such that it will not keep trying to readd that variable each time the template is opened? The only thing I've seen thus far is a for loop nested in an if loop that tests each variable to see if its name matches the one in question, but this seems inefficient - especially when I am using many variables.