store data between sessions of word 
Author Message
 store data between sessions of word

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



Mon, 12 May 2003 03:00:00 GMT  
 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



Mon, 12 May 2003 03:00:00 GMT  
 store data between sessions of word
How about a document variable?

--
Charles Kenyon

Word New User FAQ & Web Directory:
http://www.addbalance.com/word

Legal Users Guide (modified)
http://www.addbalance.com/usersguide
 --------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.


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



Mon, 12 May 2003 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. VB5 HARD ONE:Locking Word OLE session to other Word Docs

2. VBA Word, data stored in strings during runtime, and after closing

3. Storing data associated with words

4. storing data in a word doc

5. Challenge: Storing non-persistent data in Word documents

6. Storing Classes in the "Session" Object

7. Destroying objects stored in Session / Application

8. Storing Classes in the "Session" Object

9. Storing user-defined classes in Session

10. storing username & password in session table

11. Storing values in an "artificial" session

12. storing a 2 dimensional array in a session variable

 

 
Powered by phpBB® Forum Software