ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   ComboBox (https://www.excelbanter.com/excel-discussion-misc-queries/71685-combobox.html)

Abs

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.

Max

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.




Abs

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.





Max

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.





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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com