S
susiecc via OfficeKB.com
I'm hoping someone can help.
I created a combobox that a user enters names and they are listed in the
combobox. A user can then select one of the names and it inserts it into text,
just like an autotext entry.
Of course, when the userform is closed the combobox entries disappear. so, I
decided to try and find a way to repopulate the box.
I created a macro that adds each of the items (when inserted into text) into
the AutoText Entries. I then created a macro to extract these and put them
back into the list.
Unfortunately, when it does this, it also puts all of the predefined Word
AutoText entries into the list as well. I don't want these; I just want the
ones that the user defined.
So, my question is...is there some way to search the AutoText to find those
entries, based on a grouping (created a group style) and tell my macro to add
those only? I don't want all those other listing repopulating my form.
I really would appreciate some help on this.
thanks in advance.
susiecc
I created a combobox that a user enters names and they are listed in the
combobox. A user can then select one of the names and it inserts it into text,
just like an autotext entry.
Of course, when the userform is closed the combobox entries disappear. so, I
decided to try and find a way to repopulate the box.
I created a macro that adds each of the items (when inserted into text) into
the AutoText Entries. I then created a macro to extract these and put them
back into the list.
Unfortunately, when it does this, it also puts all of the predefined Word
AutoText entries into the list as well. I don't want these; I just want the
ones that the user defined.
So, my question is...is there some way to search the AutoText to find those
entries, based on a grouping (created a group style) and tell my macro to add
those only? I don't want all those other listing repopulating my form.
I really would appreciate some help on this.
thanks in advance.
susiecc