#1   Report Post  
Posted to microsoft.public.excel.misc
Abs
 
Posts: n/a
Default ComboBox

I want to be able to extract data selected in a ComboBox.
In Excel, on a cell I am writing a formula to extract the content of the
comboBox1. The ComboBox1 has a list and the user has selected "Company" from
the list.
Now on a cell in Excel, I want to extract that selection. My attempts with
the following formulae do not work.
=Sheet1.ComboBox1.value.
Anyone can help please.
  #2   Report Post  
Posted to microsoft.public.excel.misc
Max
 
Posts: n/a
Default ComboBox

If the Combobox is from the Forms toolbar,
with the Control tab settings, say:

Input range: $A$1:$A$5
Cell link: $B$1

then we could extract the selection made in any cell,
say in C4, with the formula: =INDEX(A1:A5,B1)
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Abs" wrote in message
...
I want to be able to extract data selected in a ComboBox.
In Excel, on a cell I am writing a formula to extract the content of the
comboBox1. The ComboBox1 has a list and the user has selected "Company"

from
the list.
Now on a cell in Excel, I want to extract that selection. My attempts with
the following formulae do not work.
=Sheet1.ComboBox1.value.
Anyone can help please.



  #3   Report Post  
Posted to microsoft.public.excel.misc
Abs
 
Posts: n/a
Default ComboBox

Thanks Max. I got the hint. I went and clicked on the properties of this
comboBox and then entered the cell number next to the Linked cell. It works
fine.
Regards

"Max" wrote:

If the Combobox is from the Forms toolbar,
with the Control tab settings, say:

Input range: $A$1:$A$5
Cell link: $B$1

then we could extract the selection made in any cell,
say in C4, with the formula: =INDEX(A1:A5,B1)
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Abs" wrote in message
...
I want to be able to extract data selected in a ComboBox.
In Excel, on a cell I am writing a formula to extract the content of the
comboBox1. The ComboBox1 has a list and the user has selected "Company"

from
the list.
Now on a cell in Excel, I want to extract that selection. My attempts with
the following formulae do not work.
=Sheet1.ComboBox1.value.
Anyone can help please.




  #4   Report Post  
Posted to microsoft.public.excel.misc
Max
 
Posts: n/a
Default ComboBox

Glad it helped, albeit indirectly <g !
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Abs" wrote in message
...
Thanks Max. I got the hint. I went and clicked on the properties of this
comboBox and then entered the cell number next to the Linked cell. It

works
fine.



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
Newbie combobox ordeal. alex.k New Users to Excel 6 July 3rd 05 11:29 PM
creating a combobox dynamically on an excel sheet gupt New Users to Excel 8 June 7th 05 04:07 AM
Using a ComboBox for Data Entry into a Cell Jon Turner Excel Worksheet Functions 4 May 27th 05 09:53 PM
Combobox M Excel Discussion (Misc queries) 1 March 7th 05 10:29 AM
Getting combobox dropdowns to appear on a userform when tabbed to. DO Excel Discussion (Misc queries) 0 March 2nd 05 02:11 PM


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