Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default How to get the range index from combo box ??

Hi,

I need to extract the range index from active x combo box. For ex. when I
select the first row in combo box, I will get the index 1 and assign this to
a cell. I can do this easily with userform in worksheet. just right clicking
and set the text fields. I try to look for under combo box properties, but
don't find any. Should I write any script ?? Could anyone suggest me ??


Thanks.
dennis
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default How to get the range index from combo box ??

If you assign the boundcolumn property to 0, then the value of the control
will be the index. However, note that the index is zero based, so you would
need to add 1 for your example.

--
Regards,
Tom Ogilvy


"dennis logan" wrote:

Hi,

I need to extract the range index from active x combo box. For ex. when I
select the first row in combo box, I will get the index 1 and assign this to
a cell. I can do this easily with userform in worksheet. just right clicking
and set the text fields. I try to look for under combo box properties, but
don't find any. Should I write any script ?? Could anyone suggest me ??


Thanks.
dennis

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
Vlookup,Index,or Combo of something else D Excel Discussion (Misc queries) 5 January 21st 08 03:36 AM
Unexpected #N/A error from INDEX-MATCH combo [email protected] Excel Worksheet Functions 2 July 27th 07 01:13 PM
Can Index/Match pull lookup_value from a combo box? Ruben Torrez Excel Discussion (Misc queries) 2 January 11th 07 05:01 PM
Create/copy combo boxes in one range if condition is met in a different range LB[_4_] Excel Programming 4 September 30th 05 12:21 AM
combo box, index formula problems mark67 Excel Programming 1 October 17th 03 11:11 PM


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

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

About Us

"It's about Microsoft Excel"