
store data between sessions of word
Hi Jesper,
The best thing to do is to use the registry.
Look "SaveSetting' , "GetSetting" and "PrivateProfileString" in the VBA help
file how to use the functions.
Hope this helps,
Jasper Mandos.
______________________
Microsoft newsgroups:
Knowledgebase:
http://search.support.microsoft.com/kb/c.asp
MSDN:
http://msdn.microsoft.com/default.asp
Quote:
> I need to store data between word sessions.
> I have a userform where users fill in data, i want autofill some of the
> textboxes
> with the last value the user filled in to the textbox last time they were
> using word.
> I know i could write to a file, but it slows down the procedure. Would a
> "static variable" do the trick for me.
> Thanks in advance
> Jesper