This could very well be an easy solution. I am not familiar with using VBA/ComboBox/TextBoxes w/Word. Excel is more my forte, but I have a combox on a word document, with values a/b/c/d, i have two text boxes on the document which will update based on the selection. The values in the combobox are listed as a date and three letters, which the first textbox will use the date and second will use the three letters.
Example:
Combobox has the following:
01/01/10 - ABC
02/01/10 - DEF
03/01/10 - GHI
04/01/10 - JKL
Text box will use the date, text box two will use the letters. How do i code this? I have the values already done for the combobox, but having difficulty with the text boxes. Any help would be appreciated.
Here is the combobox code:
Code:
Private Sub ComboBox1_Change()
Me.ComboBox1.List = Array("January 01, 2010 - ABC", "February 01, 2010 - DEF", "March 01, 2010 - GHI", "April 01, 2010 – JKL")
End Sub