Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 07-21-2020, 07:04 PM
Visor Visor is offline Pass the selected in Combobox to a Textbox of a Word form Windows 10 Pass the selected in Combobox to a Textbox of a Word form Office 2013
Advanced Beginner
Pass the selected in Combobox to a Textbox of a Word form
 
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
 

Tags
form, vba, word 2013



Similar Threads
Thread Thread Starter Forum Replies Last Post
Create a ComboBox in a Form that creates a new document and autofills a textBox BlackGirlMagic Word VBA 5 02-13-2017 02:39 PM
Pass the selected in Combobox to a Textbox of a Word form Pass combobox content to header wpryan Word VBA 3 07-17-2015 01:44 AM
Pass the selected in Combobox to a Textbox of a Word form Outlook 2007 Code For Matching Textbox to a Combobox in a Different Form lms Outlook 4 07-03-2013 08:34 AM
how to populate textbox based on combobox selection in word IvanGeorgiev Word 1 02-21-2013 07:32 PM
Pass the selected in Combobox to a Textbox of a Word form how to populate textbox based on combobox selection in word IvanGeorgiev Word VBA 1 02-21-2013 07:28 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 02:25 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft