ComboBox Input

girish.gv

New Member
Joined
Nov 2, 2008
Messages
11
Hi... everyone in this blogspot will be very thank ful if u guys can solve this simple probs of mee...

i m trying to write a macro.....

i have a ComboBox and in that i have 1, 2, 3, 4,... and i have one TextBox

my question, if i click on 1 in ComboBox i should get some text msges in Textbox First line should say "MrExcel" second line should say "Thred" and third line should "ref No"... and same thing should continue if i click on 2 in combobox i should get "Post" in first line in second "New" in third line "Thread".....

Can u help me how to create this i will be very greatful for each and everyone who can help me out......
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.

Andrew Poulsom

MrExcel MVP
Joined
Jul 21, 2002
Messages
73,092
Please post real examples of what you want in the TextBox for each of the numbers chosen. You should be able to use a lookup table.
 
Upvote 0

girish.gv

New Member
Joined
Nov 2, 2008
Messages
11
Hi,
I have a ComboBox and in that i have 1, 2, 3, 4,... and i have one TextBox

my question, if i click on "1" in ComboBox i should get some text msges in Textbox First line should say "DocumentName" in the next line "Dt of the Document" in the third line "Ref No" in the fourth line "List A doc" if i click on "2" i should get only "DocumentName" in the second line "Date" in the third line "List B" .. and so on...

However, wen i click on 1 all the things should appear in the text box and also if i click 2 i should get the different things wat i have mentioned and it should also remain the "1" items. it should not get clear.... so for this reason i m not looking lookup i m looking into a macro.. i think u got my question...

thanks for your patience and ask me about the dobuts wat u have i really appreciate if u can help me out this....

Thanks & Regards,
Girish
 
Upvote 0

Forum statistics

Threads
1,195,643
Messages
6,010,889
Members
441,571
Latest member
stolenweasel

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top