Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 14
Default HELP!!!! needed in Excel

hi everyone
i have got a new problem this time. I have managed to populate the data

and all in the Combo box and its doing first letter select. but the
trouble is earlier in the list box (form type) when i used to select an

option i used to set the data in another cell.
it was giving the index of the data and i was doing some calculations
on the basis of this index value(it was a numeric value.)

but now when i select from the combo box its giving me the Data value
from the list which is of no use as far as my calculations are
concerned as its a data value and (not numeric). so what should i do to

get the index value instead of the exact text from the list in the
combo box.


I tried using bound column and set another column containing the index
of the list but its not working. even column count is of no use


plz help out.
thanx in advance

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default HELP!!!! needed in Excel

If you set the boundcolumn property to 0, then the Controls Toolbox Toolbar
Combobox will return the ListIndex property as both its Value and to any
linkedcell/controlsource.

Note that Forms controls have a value of 1 for the index of the first item -
while control toolbox toolbar comboboxes and listboxes have a value of 0 for
the index of the first item.

--
Regards,
Tom Ogilvy


" wrote:

hi everyone
i have got a new problem this time. I have managed to populate the data

and all in the Combo box and its doing first letter select. but the
trouble is earlier in the list box (form type) when i used to select an

option i used to set the data in another cell.
it was giving the index of the data and i was doing some calculations
on the basis of this index value(it was a numeric value.)

but now when i select from the combo box its giving me the Data value
from the list which is of no use as far as my calculations are
concerned as its a data value and (not numeric). so what should i do to

get the index value instead of the exact text from the list in the
combo box.


I tried using bound column and set another column containing the index
of the list but its not working. even column count is of no use


plz help out.
thanx in advance


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 14
Default HELP!!!! needed in Excel

than you so much for your help. i used VBA instead and set the property

ComboBox1.ListIndex
on change
thus i could also call the macro which i had written earlier.


thanx an regards
Shreya

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
Excel help needed Vinod Lewis Excel Worksheet Functions 6 August 12th 08 11:41 AM
Excel help needed. Mr QA Man Excel Discussion (Misc queries) 2 April 14th 07 10:34 AM
HELP!!!! needed in Excel [email protected] Excel Programming 5 May 24th 06 10:38 AM
Excel Help Needed Matt Excel Worksheet Functions 1 January 5th 06 04:21 PM
VB code needed for running newer excel version macros in older excel versions Tom Excel Programming 6 October 16th 03 03:11 AM


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