How To Save User Entered Drop Down List Items

  • Thread starter susiecc via OfficeKB.com
  • Start date
S

susiecc via OfficeKB.com

I have a user form where a user enters a list of words to be inserted in a
document. The words they enter populates a drop down list and the user can
then select one of the words and it is inserted into the Word document.

This works fine. However, the list disappears when the user saves and closes
the document.

I would like to find a way for this user-entered list to remain populated so
the user does not have to reenter the list every time they open the document
again.

Is there a command for this that I have missed?

sue
 
H

Howard Kaikow

susiecc via OfficeKB.com said:
I have a user form where a user enters a list of words to be inserted in a
document. The words they enter populates a drop down list and the user can
then select one of the words and it is inserted into the Word document.

This works fine. However, the list disappears when the user saves and closes
the document.

I would like to find a way for this user-entered list to remain populated so
the user does not have to reenter the list every time they open the document
again.

Is there a command for this that I have missed?

You have to populate the list from a persistent source.

When the Form loads, you need to build the list at an appropriate time by
retrieving the saved list from a file or from the registry.

When the program is finished, the program needs to save,the list if
modified, to a persistent source from whence the list elements can be
retrieved next ti,e the program is executed.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top