#1   Report Post  
tmjhiphopcom
 
Posts: n/a
Default Combo Box problem

hello,

i made a combo box and want the next cell to change numbers when i go
thorugh the list. i do not know how to make the cell have numbers when i
shift throught the combo box list. for example, if egg was the first, i want
the next cell to change to number 1 and so on.
  #2   Report Post  
Ian
 
Posts: n/a
Default Combo Box problem

Range("E1").Value = ComboBox1.ListIndex + 1

--
Ian
--
"tmjhiphopcom" wrote in message
...
hello,

i made a combo box and want the next cell to change numbers when i go
thorugh the list. i do not know how to make the cell have numbers when i
shift throught the combo box list. for example, if egg was the first, i
want
the next cell to change to number 1 and so on.



  #3   Report Post  
Bob Phillips
 
Posts: n/a
Default Combo Box problem

What sort of combobox. If it is a controls toolbox, then link a cell to the
combo using the LinkedCell property, and then use MATCH to find its index in
the source

=MATCH(linked_cell,listfill_range,0)

If it is a forms toolbar, again set the cell link property (right-click the
combobox, select the control tab) to a cell, and that cell will capture the
index.

--

HTH

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


"tmjhiphopcom" wrote in message
...
hello,

i made a combo box and want the next cell to change numbers when i go
thorugh the list. i do not know how to make the cell have numbers when i
shift throught the combo box list. for example, if egg was the first, i

want
the next cell to change to number 1 and so on.



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
FRUSTRATED!!! COMBO BOX AND PROGRAMMING IT Russell-stanely Excel Discussion (Misc queries) 6 July 7th 05 09:19 PM
Nesting Combo Boxes /Returning an Array ELMONDO SNITHER Excel Discussion (Misc queries) 1 June 30th 05 01:15 AM
combo box named range BB Excel Discussion (Misc queries) 2 June 21st 05 04:27 PM
combo box help littlegreenmen1 Excel Discussion (Misc queries) 5 June 7th 05 06:27 PM
Freeze Pane problem in shared workbooks JM Excel Discussion (Misc queries) 1 February 1st 05 12:04 AM


All times are GMT +1. The time now is 08:21 AM.

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"