Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 180
Default how do I click on a drop down list and go to that data

I have created a drop down list for all of our locations. Within the same
spreadsheet is the data related to each location. How can I select the name
from the drop down list and go directly to that data within the spreadsheet
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default how do I click on a drop down list and go to that data

Presumably each of the locations is a named range?

Private Sub Worksheet_Change(ByVal Target As Range)
If Target = Me.Range("A1") Then
Application.Goto Reference:=Target.Value, Scroll:=True
End If
End Sub

Assumes the dropdown list is in A1........adjust to suit.

This is sheet event code. Right-click on the sheet and "View Code"

Copy/paste the code into that module.

Alt + q to return to the Excel window.


Gord Dibben MS Excel MVP

On Mon, 2 Feb 2009 12:00:03 -0800, Donna
wrote:

I have created a drop down list for all of our locations. Within the same
spreadsheet is the data related to each location. How can I select the name
from the drop down list and go directly to that data within the spreadsheet


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
Right-click Drop down list Joe M. Excel Discussion (Misc queries) 1 June 8th 07 04:33 PM
How do i set up a drop down list and hide my list data. Bill Excel Worksheet Functions 1 January 26th 07 12:38 PM
I can't get a drop down list when a do a right click on a cell csanchez Excel Discussion (Misc queries) 2 March 10th 06 03:04 PM
multiple select from the drop down list in excel. list in one sheet and drop down in sriramus Excel Discussion (Misc queries) 5 October 27th 05 06:55 PM
Data Validation using List (But needs unique list in drop down lis Tan New Users to Excel 1 July 8th 05 03:32 PM


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