Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Combo Box (ActiveX)

I'm attempting to create a combo box that by clicking on an entry in th
list, will populate a sheet according to data corresponding to tha
entry.
Please give samples.
Thanks,
Dovi

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 68
Default Combo Box (ActiveX)

Use the row source property to link the values on the control to the
worksheet and the controlsource to define the destination.

Eg.......

Private Sub UserForm_Initialize()
UserForm1.ListBox1.RowSource = "A1:A5"
UserForm1.ListBox1.ControlSource = "B1"
End Sub.

Cheers
Nigel



"Dovid " wrote in message
...
I'm attempting to create a combo box that by clicking on an entry in the
list, will populate a sheet according to data corresponding to that
entry.
Please give samples.
Thanks,
Dovid


---
Message posted from http://www.ExcelForum.com/





----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! 100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Combo Box (ActiveX)

He might also mean

Worksheets(1).Range("A1").Value = Combobox1.Value

to put the selected value on the worksheet.

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"Nigel" wrote in message
...
Use the row source property to link the values on the control to the
worksheet and the controlsource to define the destination.

Eg.......

Private Sub UserForm_Initialize()
UserForm1.ListBox1.RowSource = "A1:A5"
UserForm1.ListBox1.ControlSource = "B1"
End Sub.

Cheers
Nigel



"Dovid " wrote in message
...
I'm attempting to create a combo box that by clicking on an entry in the
list, will populate a sheet according to data corresponding to that
entry.
Please give samples.
Thanks,
Dovid


---
Message posted from http://www.ExcelForum.com/





----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet

News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! 100,000

Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption

=---


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to insert a list in the ActiveX combo box Carl Snider New Users to Excel 1 February 8th 07 10:28 PM
"Combo Box - getting control combo box to stick in place in worksh ajr Excel Discussion (Misc queries) 1 February 16th 05 02:05 AM
"Combo Box - getting control combo box to stick in place in worksh ajr Excel Discussion (Misc queries) 0 February 15th 05 07:45 PM
Creatiing a Combo box (ActiveX) Al Norka Excel Programming 1 December 4th 03 01:36 PM
Activex combo box won't display values mike Excel Programming 0 August 8th 03 05:54 PM


All times are GMT +1. The time now is 04:11 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"