Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / February 2008

Tip: Looking for answers? Try searching our database.

Update Textbox1 after combox easy help for beginner!

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
piditi - 22 Feb 2008 05:50 GMT
I want only that after I choose in the Combobox1 one value in the
textbox1 appear automatically this value!
I know it s a stupid question...I'm starting know to work with WBA and
so I' reading a lot!

Sub MACRO22()
   UserForm1.Show
   UserForm1.ComboBox1.RowSource =
ThisWorkbook.Worksheets("Foglio1").Range("A1:A3").Address(External:=True)
End Sub

Private Sub ComboBox1_AfterUpdate()
  UserForm1.TextBox1.Text = UserForm1.ComboBox1.Value
End Sub
Greg Maxey - 22 Feb 2008 06:44 GMT
At the risk of the the courtesy cop issuing another citation, I have to ask
... Are you posting a question or just gibberish?

Signature

~~~~~~~~~~~~~~~~~~~~~~~~~~~
Greg Maxey -  Word MVP

My web site http://gregmaxey.mvps.org
Word MVP web site http://word.mvps.org
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

> I want only that after I choose in the Combobox1 one value in the
> textbox1 appear automatically this value!
[quoted text clipped - 10 lines]
>   UserForm1.TextBox1.Text = UserForm1.ComboBox1.Value
> End Sub
Doug Robbins - Word MVP - 22 Feb 2008 09:15 GMT
Also seems to be working with Excel, so wrong newsgroup.

Signature

Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

> At the risk of the the courtesy cop issuing another citation, I have to
> ask ... Are you posting a question or just gibberish?
[quoted text clipped - 13 lines]
>>   UserForm1.TextBox1.Text = UserForm1.ComboBox1.Value
>> End Sub
piditi - 22 Feb 2008 14:29 GMT
> I want only that after I choose in the Combobox1 one value in the
> textbox1 appear automatically this value!
[quoted text clipped - 10 lines]
>    UserForm1.TextBox1.Text = UserForm1.ComboBox1.Value
> End Sub

Ops sorry!!!
Thanks!I confuse the group!
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.