Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 62
Default Using Hyperlinks in Data Validation

I want to make a drop down list using data validation. The problem I am
having is the list needs to be hyperlinks to connect to sheets within the
same workbook.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Using Hyperlinks in Data Validation

Scott

What you are trying to do cannot be done without some VBA code.

You could use event code which would use the value selected to go to the other
sheet.

Instead of using the list of hyperlinks enter a DV list of just a description of
where you want to go.

Then the selected item would trigger the code.

Private Sub Worksheet_Change(ByVal Target As Range)
If Intersect(Target, Me.Range("A1")) Is Nothing Then Exit Sub
On Error GoTo endit
Application.EnableEvents = False
Select Case Target.Value
Case "sht1"
Sheets("Sheet1").Select
Case "sht2"
Sheets("Sheet2").Select
End Select
endit:
Application.EnableEvents = True
End Sub

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

Copy/paste the above into that sheet module.

There are other methods of setting up a sheet selector.

Post back if you want to see something else.


Gord Dibben MS Excel MVP

On Thu, 14 Dec 2006 08:30:02 -0800, Scott@CW
wrote:

I want to make a drop down list using data validation. The problem I am
having is the list needs to be hyperlinks to connect to sheets within the
same workbook.


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
Data validation dakotasteve Excel Worksheet Functions 13 August 5th 06 01:28 AM
data validation mattdsc Excel Worksheet Functions 4 July 26th 06 11:30 AM
Inputting data to one worksheet for it effect another daedalus1 Excel Discussion (Misc queries) 1 June 25th 06 04:39 PM
named range, data validation: list non-selected items, and new added items KR Excel Discussion (Misc queries) 1 June 24th 05 05:21 AM
Pulling data from 1 sheet to another Dave1155 Excel Worksheet Functions 1 January 12th 05 05:55 PM


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