Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Retrieving data from a ComboBox

How do I retrieve an item from a multicolumn combobox? I need the value from
the second column. However, I need the box to display the value in the 1st
column.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 694
Default Retrieving data from a ComboBox

Hi,
Use the BoundColumn Property of the COmbobox (check the online help about
this property)
Also you can access any element with cbx1.List(row,column) and replacing row
by cbx1.ListIndex
--
Regards,
Sébastien
<http://www.ondemandanalysis.com


"ImCary" wrote:

How do I retrieve an item from a multicolumn combobox? I need the value from
the second column. However, I need the box to display the value in the 1st
column.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default calculated control to get 2nd column of combobox

Hi Im,

create a textbox control
ControlSource -- = combobox_controlname.column(1)

column 1 is actually column 2 since column indexing starts
with 0

make sure the ColumnCount property of the combobox is set to
something besides 1

the ColumnWidths property controls how the columns display
..5";2"
-- first column is .5" and second column is 2"
seperate column widths with semi-colon

the ListWidth property should be the sum of the ColumnWidths

Have an awesome day

Warm Regards,
Crystal

ImCary wrote:
How do I retrieve an item from a multicolumn combobox? I need the value from
the second column. However, I need the box to display the value in the 1st
column.

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
retrieving data Jess Excel Worksheet Functions 1 February 13th 07 04:54 PM
Retrieving data from the web - help ! glynny Excel Worksheet Functions 0 February 20th 06 02:04 AM
Retrieving stock data Larry Wade Excel Discussion (Misc queries) 1 October 15th 05 06:43 PM
Retrieving Web Data leafsfan1967[_6_] Excel Programming 6 June 25th 05 06:47 PM
Retrieving data Alan M[_2_] Excel Programming 5 March 24th 05 12:27 PM


All times are GMT +1. The time now is 09:04 AM.

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"