S
Sophie
Hello,
I designed a word template with some bookmarks and a word table with 7
cols(Prod.No, Descr, price, qty, colr, etc) .
I've also designed a userform with a list box to enable user select the
products. This listbox is populated from a products table in access.
When the user selects a product from the list, the Prod.No, Descr., and
price details are entered into the word table cells. The remaining
cols. are to be filled later.
However, want to search the table (Descr. colum) , if a certain product
is entered, then a standard text should be entered in a bookmark
("bmk_match") in the template.
Say if the user selects a product like: Dye light blue, Dye dark brown,
Plastics light blue, etc.
How can I write a macro to search through the table and when a product
with only ..light blue
description is found, then a standard text like "available once a
month" should be inserted into a bookmark("bmk_match") in the template.
Thanks
sophia
I designed a word template with some bookmarks and a word table with 7
cols(Prod.No, Descr, price, qty, colr, etc) .
I've also designed a userform with a list box to enable user select the
products. This listbox is populated from a products table in access.
When the user selects a product from the list, the Prod.No, Descr., and
price details are entered into the word table cells. The remaining
cols. are to be filled later.
However, want to search the table (Descr. colum) , if a certain product
is entered, then a standard text should be entered in a bookmark
("bmk_match") in the template.
Say if the user selects a product like: Dye light blue, Dye dark brown,
Plastics light blue, etc.
How can I write a macro to search through the table and when a product
with only ..light blue
description is found, then a standard text like "available once a
month" should be inserted into a bookmark("bmk_match") in the template.
Thanks
sophia