View Single Post
 
Old 07-21-2020, 07:04 PM
Visor Visor is offline Windows 10 Office 2013
Advanced Beginner
 
Join Date: Aug 2019
Posts: 38
Visor is on a distinguished road
Default Pass the selected in Combobox to a Textbox of a Word form

Dear forum members, greetings.
I have in a form in Word, a combobox and a textbox.
I don't know why my code doesn't work, I can't find the problem.
I have put .text or .value after combobox but it doesn't work

HTML Code:
Private Sub CommandButton1_Click()

Me.Textbo1.Text = Me.Combobox1.Text
'Me.Textbo1.Text = Me.Combobox1.value

End Sub
I select the data in a combobox and I want to pass this to a textbox, I execute with a button but nothing happens.
I ask for your support to solve this problem
I thank you in advance for your collaboration
Reply With Quote