Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Daphne
 
Posts: n/a
Default Selection of Drop down list that allows you to go to a particular cell

Hi all,

I need help to do the following thing:

1. Have a drop down list (e.g. Scenario 1, Scenario 2, Scenario 3)
2. When user select (e.g. Scenario 2) from the drop down list and click
on a "Go" Button, it will take the user to the cell that says Scenario
2.
3. There will only be one Scenario 2 in the whole sheet.

Thanks a lot.

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
L. Howard Kittle
 
Posts: n/a
Default Selection of Drop down list that allows you to go to a particular cell

Hi Daphne,

Assign this code to your "GO" button.

Sub GoToIt()
If Range("F1").Value = "S1" Then
Range("A30").Select
ElseIf Range("F1").Value = "S2" Then
Range("F30").Select
ElseIf Range("F1").Value = "S3" Then
Range("L30").Select
End If
End Sub

Where F1 is the drop down value and change A30, F30 and L30 to suit your
sheet.

HTH
Regards,
Howard

"Daphne" wrote in message
ups.com...
Hi all,

I need help to do the following thing:

1. Have a drop down list (e.g. Scenario 1, Scenario 2, Scenario 3)
2. When user select (e.g. Scenario 2) from the drop down list and click
on a "Go" Button, it will take the user to the cell that says Scenario
2.
3. There will only be one Scenario 2 in the whole sheet.

Thanks a lot.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Daphne
 
Posts: n/a
Default Selection of Drop down list that allows you to go to a particular cell

Thanks a lot. =)


L. Howard Kittle wrote:
Hi Daphne,

Assign this code to your "GO" button.

Sub GoToIt()
If Range("F1").Value = "S1" Then
Range("A30").Select
ElseIf Range("F1").Value = "S2" Then
Range("F30").Select
ElseIf Range("F1").Value = "S3" Then
Range("L30").Select
End If
End Sub

Where F1 is the drop down value and change A30, F30 and L30 to suit your
sheet.

HTH
Regards,
Howard

"Daphne" wrote in message
ups.com...
Hi all,

I need help to do the following thing:

1. Have a drop down list (e.g. Scenario 1, Scenario 2, Scenario 3)
2. When user select (e.g. Scenario 2) from the drop down list and click
on a "Go" Button, it will take the user to the cell that says Scenario
2.
3. There will only be one Scenario 2 in the whole sheet.

Thanks a lot.


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
Drop Down List in a Cell Mike Charts and Charting in Excel 1 March 29th 06 01:29 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
Creating drop down list for multiple cell ranges Aaron Saulisberry Excel Discussion (Misc queries) 2 May 1st 05 06:47 PM
limit cell list selection based on the selection of another list lorraine Excel Worksheet Functions 2 December 14th 04 08:17 PM
GET.CELL Biff Excel Worksheet Functions 2 November 24th 04 07:16 PM


All times are GMT +1. The time now is 04:46 PM.

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"