Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 414
Default Drop down choice sends text to another cell

I would like a drop down selection (City) to automatically input a
predetermined street address into another cell (different street based on the
city selected). I think it's a macro associated with the change event of the
drop down. I can do vba but I need a suggestion as to what the vba would do.
Thanks for any help.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Drop down choice sends text to another cell

You can use VBA for this, but there is little adantage. The VBA would need a
lookup table to get the street address anyway.

Just create a lookup table on the worksheet and use the VLOOKUP() function
to return the correct street address based upon the dropdown cell.
--
Gary''s Student - gsnu200723


"Andy" wrote:

I would like a drop down selection (City) to automatically input a
predetermined street address into another cell (different street based on the
city selected). I think it's a macro associated with the change event of the
drop down. I can do vba but I need a suggestion as to what the vba would do.
Thanks for any help.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 414
Default Drop down choice sends text to another cell

The combo box with the city is currently an active x control that is not near
the cell with the street address. I've only done vlookup when everything was
"connected"--the matching item and lookup value. These cells are currently
not next to each other. My two questions now a

Do I need to convert the active x control to a look up list (so it's
actually in a cell)? AND
Do I have to redesign my spreadsheet so the cells are next to each other?

"Gary''s Student" wrote:

You can use VBA for this, but there is little adantage. The VBA would need a
lookup table to get the street address anyway.

Just create a lookup table on the worksheet and use the VLOOKUP() function
to return the correct street address based upon the dropdown cell.
--
Gary''s Student - gsnu200723


"Andy" wrote:

I would like a drop down selection (City) to automatically input a
predetermined street address into another cell (different street based on the
city selected). I think it's a macro associated with the change event of the
drop down. I can do vba but I need a suggestion as to what the vba would do.
Thanks for any help.

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
Sorting based on Drop Down choice [email protected] Excel Discussion (Misc queries) 5 March 23rd 07 07:58 PM
add text to cell by clicking a choice in drop down list Microsoft Sidewinder wheel force feedbac New Users to Excel 1 May 23rd 06 06:46 PM
drop-down list changing according to choice made choc_penguin Excel Worksheet Functions 1 January 4th 06 06:26 PM
Drop list affected by previous choice Gaëtan Mongeon Excel Worksheet Functions 2 June 26th 05 01:29 AM
How do I set up a drop down choice in a cell CELL DROP DOWN MENU Excel Discussion (Misc queries) 3 May 14th 05 06:48 AM


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