Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default ComboBox,Array and Index numbers


I have devloped a small array of names and numbers. I have filled a
combo box with the information from one column of the array. I have set
the control source to put the index number in a specific cell on a
specific worksheet. When I run the user form I do not get the index
number I get the text instead. I changed the bound column to 0 but I
still do not get the index number in the cell. When I exit I see the
index number appear in my combobox drop down . I am new to VBA for
Excel programming so any help is certainly appreciated


--
Dennis Hightowe
------------------------------------------------------------------------
Dennis Hightowe's Profile: http://www.excelforum.com/member.php...o&userid=23723
View this thread: http://www.excelforum.com/showthread...hreadid=373998

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default ComboBox,Array and Index numbers


Dennis

When you say index number do you mean the actual index number of the
item in the combobox or the number associated with the name on the
worksheet?

If it's the first I think you would need code to get the number into a
cell.

If it's the second you should make the combobox have 2 columns, one for
the name and one for the number.

The make the bound column the one with the number and hide it.


--
Norie
------------------------------------------------------------------------
Norie's Profile: http://www.excelforum.com/member.php...o&userid=19362
View this thread: http://www.excelforum.com/showthread...hreadid=373998

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default ComboBox,Array and Index numbers

If it is the first one, and we are talking a control toolbox combo, then
just set the BoundColumn to 0.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Norie" wrote in
message ...

Dennis

When you say index number do you mean the actual index number of the
item in the combobox or the number associated with the name on the
worksheet?

If it's the first I think you would need code to get the number into a
cell.

If it's the second you should make the combobox have 2 columns, one for
the name and one for the number.

The make the bound column the one with the number and hide it.


--
Norie
------------------------------------------------------------------------
Norie's Profile:

http://www.excelforum.com/member.php...o&userid=19362
View this thread: http://www.excelforum.com/showthread...hreadid=373998



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default ComboBox,Array and Index numbers


Thank you for the information. The number that I am trying to get is th
actual index number of the selected item in the comboBo

--
Dennis Hightow
-----------------------------------------------------------------------
Dennis Hightowe's Profile: http://www.excelforum.com/member.php...fo&userid=2372
View this thread: http://www.excelforum.com/showthread.php?threadid=37399

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default ComboBox,Array and Index numbers

See my response

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Dennis Hightowe"
<Dennis.Hightowe.1pm0cr_1117061212.4642@excelfor um-nospam.com wrote in
message news:Dennis.Hightowe.1pm0cr_1117061212.4642@excelf orum-nospam.com...

Thank you for the information. The number that I am trying to get is the
actual index number of the selected item in the comboBox


--
Dennis Hightowe
------------------------------------------------------------------------
Dennis Hightowe's Profile:

http://www.excelforum.com/member.php...o&userid=23723
View this thread: http://www.excelforum.com/showthread...hreadid=373998





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
ComboBox and 2 Dim array Dave Taylor[_2_] Excel Programming 0 October 9th 04 02:38 PM
ComboBox and 2 Dim array Dave Taylor Excel Programming 1 October 9th 04 12:13 AM
Combobox array Lawlera Excel Programming 1 January 19th 04 07:06 PM
Accesing a combobox control via it index propertie in VBA, Is itPossible? Muxer Excel Programming 3 July 30th 03 08:20 PM
ComboBox Name array Stacy Excel Programming 1 July 25th 03 04:07 PM


All times are GMT +1. The time now is 04:00 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"