Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Excel VBA > Excel VBA
|
Excel VBA Discuss using VBA for Excel programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Excel VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 1st, 2014, 01:30 PM
Registered User
 
Join Date: Aug 2014
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Question need hepl about combobox & textbox

Hi all
I am sorry because I'm not familiar to VBA excel, so I have an Excel Workbook with several TextBox and ComboBox created in 02 pages on Userform

1. When the Userform appear all the Textbox will be clear.
2. when I select an item in the list of combobox1/page1/Userform
I will introduce more value corresponds to the element from Textbox1, Textbox2, TextBox3, 4 and 5

in my example:
When I select RD1 from ComboBox , I will enter data on all the TextBox (1,2,3,4 & 5)
then those TextBox values data will resend to my WorkSheet (Sheet1) by clicking on validate (CommandButton4) in "C19","C20","C21","C22" and "C23" respectively
as :
TextBox1.Value = Range("C19").Value
TextBox2.Value = Range("C20").Value
TextBox3.Value = Range("C21").Value
TextBox4.Value = Range("C22").Value
TextBox5.Value = Range("C23").Value
Whatever when Dropping down List in Combobox1 and selecting RD2, 3, 4 and 5 we will repeat the same operation for all those items of ComBoBox1
- RD2 selected in combox1 TextBox1,2,3,4 & 5 will filled by data then resend to D19,D20,D21,D22 & D23
- RD3 selected in combox1 TextBox1,2,3,4 & 5 will filled by data then resend to C19,C20,C21,C22 & C23
.
.
.
.
-RD5 selected in combox1 TextBox1,2,3,4 & 5 will filled by data then resend to G19,G20,G21,G22 & G23

Please see attached file link

and thank you for help ...


http://en.workupload.com/file/poqNKLyQ

Last edited by smail; August 2nd, 2014 at 03:47 AM..
 
Old November 4th, 2014, 01:12 AM
Friend of Wrox
 
Join Date: Sep 2005
Posts: 812
Thanks: 1
Thanked 53 Times in 49 Posts
Default

Hi

The following links should give you the much needed insight on Forms Controls in Excel

http://office.microsoft.com/en-in/ex...010342745.aspx

http://support.microsoft.com/kb/291073

Cheers
Shasur
__________________
C# Code Snippets (http://www.dotnetdud.blogspot.com)

VBA Tips & Tricks (http://www.vbadud.blogspot.com)





Similar Threads
Thread Thread Starter Forum Replies Last Post
Combobox selection to populate Textbox Reginator Word VBA 2 November 4th, 2014 01:55 AM
Please hepl, how can I access the masterpage usercontrol ysfkay ASP.NET 3.5 Basics 4 May 16th, 2010 07:34 PM
binding combobox to textbox cancertropica WinForms/Console Application Design 2 July 27th, 2009 01:21 PM
Associate a combobox with a textbox OMEGA ADO.NET 0 August 3rd, 2007 05:01 AM
Masked TextBox & formatting TextBox melvik C# 1 September 22nd, 2003 11:01 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.