A1VBCode Forums

ActiveX ComboBox Line Code issue in Word


http://www.a1vbcode.com/vbforums/Topic29193.aspx

By rusty_cd - 4/21/2010

I created an ActiveX ComboBox list in my 2003 Word document using Visual Basic Line Code. Unfortunately, everytime I reopen the document, I have to reactivate the code in Visual Basic before I can access it in the drop down list in the word doc. Please look at the code below and let me know if I am missing something that will allow this to continuely activate without my running it every time.

Private Sub ComboBox1_Change()
Me.ComboBox1.List = Split(" option1 option2 option3")
End Sub

Please help! Thanks!