Visual Basic Code , VB.NET Code, VB Code
  Home   :  Code   :  Forums   :  Submit   :  Mailing List   :  About   :  Contact
A1VBCode Forums
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      

Home » Classic Visual Basic (VB 6 or earlier) » VBA(Excel, Word, etc...) » ActiveX ComboBox Line Code issue in Word


ActiveX ComboBox Line Code issue in WordExpand / Collapse
Author
Message
Posted 4/21/2010 7:38:59 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 4/26/2010 1:12:45 PM
Posts: 1, Visits: 3
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!
Post #29193
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 1 (1 guest, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Admin, Mod, Mark, Keithuk

PermissionsExpand / Collapse

All times are GMT -5:00, Time now is 2:23pm