Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Changing "persistent" data in a Word macro

Status
Not open for further replies.

dickinso

MIS
Jan 13, 2003
8
US
I have a macro that is used daily to format raw data and insert the names of seven individuals to complete a document. Every 3 months or so the names change. I've created a userform as an interface for the user to be able to change the names, but I'm stuck as to how to save the data once it is entered. Shouldn't I be able to save the template, the project, or the userform itself? In each of these scenarios the text in the userform goes back to the original names. Do I need to create persistent variables in the macro which are "read" each time the macro is run? Thanks in advance!
 
Tony, I'd never heard of document variables, but it looks like that is exactly what I need to do. Thanks much for the tip!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top