J
JeanneJo
Word 2007: have been working to build user form which is used to insert
information into company letterhead: specifically name, email address and,
when requested, the user's direct telephone number. I created a table in
Word containing employee complete names, their email addresses and the direct
phone numbers. The phone numbers aren't always included in the letter, but
the users want an option to select it depending on who they are writing to.
I have created the userform, have inserted code from the "Populate UserForm
Listbox" instructions, which has gotten me to the part where the information
contained in the Word table now populates the ListBox in the Userform. From
there I'm stuck: the complete names fill each of the designated bookmarks,
specifically named "Name," "Email" and "Directline" -
From what I have read, the procedures to populate the bookmarks is run by
the cmdClick: Following is the code I'm working with, which only works so
far. I also want to "hide" the Email and DirectLine columns of the Word
table and only have the names display in the ListBox.
If there is a better way of doing this, I'm certainly open to suggestions.
And thanks very much, in advance.
Jeanne.
information into company letterhead: specifically name, email address and,
when requested, the user's direct telephone number. I created a table in
Word containing employee complete names, their email addresses and the direct
phone numbers. The phone numbers aren't always included in the letter, but
the users want an option to select it depending on who they are writing to.
I have created the userform, have inserted code from the "Populate UserForm
Listbox" instructions, which has gotten me to the part where the information
contained in the Word table now populates the ListBox in the Userform. From
there I'm stuck: the complete names fill each of the designated bookmarks,
specifically named "Name," "Email" and "Directline" -
From what I have read, the procedures to populate the bookmarks is run by
the cmdClick: Following is the code I'm working with, which only works so
far. I also want to "hide" the Email and DirectLine columns of the Word
table and only have the names display in the ListBox.
If there is a better way of doing this, I'm certainly open to suggestions.
And thanks very much, in advance.
Jeanne.