Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Sez
 
Posts: n/a
Default How do i get an cell to read from a drop-down/combo box?

I have created a drop down list/box in excel. However, I am trying get a
cell on another worksheet to read whatever gets chosen in the drop down list
box. I have found a visual basic code for doing it using a list box, but
can't seem to get it to work using a drop-down box.

Any help would be gratefully appreciated.
  #2   Report Post  
Posted to microsoft.public.excel.misc
PaulW
 
Posts: n/a
Default How do i get an cell to read from a drop-down/combo box?

Can you not just put ='Sheet1'!A1 or whatever the cell reference is?

"Sez" wrote:

I have created a drop down list/box in excel. However, I am trying get a
cell on another worksheet to read whatever gets chosen in the drop down list
box. I have found a visual basic code for doing it using a list box, but
can't seem to get it to work using a drop-down box.

Any help would be gratefully appreciated.

  #3   Report Post  
Posted to microsoft.public.excel.misc
PaulW
 
Posts: n/a
Default How do i get an cell to read from a drop-down/combo box?

Can you not just put the cell reference, eg. ='Sheet 1'!A1 for it to copy
this information?

"Sez" wrote:

I have created a drop down list/box in excel. However, I am trying get a
cell on another worksheet to read whatever gets chosen in the drop down list
box. I have found a visual basic code for doing it using a list box, but
can't seem to get it to work using a drop-down box.

Any help would be gratefully appreciated.

  #4   Report Post  
Posted to microsoft.public.excel.misc
Sez
 
Posts: n/a
Default How do i get an cell to read from a drop-down/combo box?

The drop down box does not sit in the cell - it sits on top - if I were to
use the ='Sheet1'!A1 cell reference - nothing would appears in the cell.

"PaulW" wrote:

Can you not just put ='Sheet1'!A1 or whatever the cell reference is?

"Sez" wrote:

I have created a drop down list/box in excel. However, I am trying get a
cell on another worksheet to read whatever gets chosen in the drop down list
box. I have found a visual basic code for doing it using a list box, but
can't seem to get it to work using a drop-down box.

Any help would be gratefully appreciated.

  #5   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson
 
Posts: n/a
Default How do i get an cell to read from a drop-down/combo box?

It depends on what a dropdown listbox is.

If you used a dropdown from the forms toolbar, you could use a linked cell to
return the index of the selected item.

Say you used A1:A10 as the Input range.
And you used B1 as the Linked cell.
You could put this in C1:
=if(b1="","",index(a1:a10,b1))

If you used a combobox from the Control toolbox toolbar, you could use the value
in that linked cell directly.

For the dropdown from the Forms toolbar, you can rightclick on it, choose Format
Control, then Control to get to the dialog for these settings.

For the combobox from the control toolbox toolbar, you have to go into design
mode (another icon on that same toolbar) and then rightclick and choose
properties to see them.

Sez wrote:

I have created a drop down list/box in excel. However, I am trying get a
cell on another worksheet to read whatever gets chosen in the drop down list
box. I have found a visual basic code for doing it using a list box, but
can't seem to get it to work using a drop-down box.

Any help would be gratefully appreciated.


--

Dave Peterson
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
How to change drop down values based on another cell value? puneetarora_12 Excel Discussion (Misc queries) 3 October 5th 05 11:28 AM
"read only" cell in a given worksheet Colin2u Excel Discussion (Misc queries) 2 July 29th 05 04:33 PM
Possible Lookup Table Karen Excel Worksheet Functions 5 June 8th 05 09:43 PM
up to 7 functions? ALex Excel Worksheet Functions 10 April 12th 05 06:42 PM
Using Jet to read excel file returns blank for last cell - sometim Ron Excel Discussion (Misc queries) 1 December 9th 04 08:21 AM


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