#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Data Validation

Is there a way when using a data validation list, to hyperlink the list
options to pages in the workbook? So for example, if you had a lot of
worksheets in one workbook, is there a way to choose a worksheet from the
list and have it go to the corresponding worksheet?


Thank you.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Data Validation

Say cell A1 has the data validation pull-down. Insert the following
worksheet code event:

Private Sub Worksheet_Change(ByVal Target As Range)
If Intersect(Target, Range("A1")) Is Nothing Then Exit Sub
Sheets(Target.Value).Activate
End Sub

After selecting a sheet name in cell A1, that sheet will automatically be
selected.
--
Gary''s Student - gsnu200771


"Destiney" wrote:

Is there a way when using a data validation list, to hyperlink the list
options to pages in the workbook? So for example, if you had a lot of
worksheets in one workbook, is there a way to choose a worksheet from the
list and have it go to the corresponding worksheet?


Thank you.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Data Validation

Yes, but there are other ways to select a sheet to go to.

Right-click on the navigation arrows at bottom left to get a list of 15 sheets
and "more sheets".

Rather than an dropdown list sheet with hyperlinks, try a sheet navigation
toolbar or similar.

Sheet navigation bar from by Dave Peterson at Debra Dalgleish's site.

http://www.contextures.on.ca/xlToolbar01.html

Or Bob Phillips' Browsesheets macro.

See this google search result.

http://tinyurl.com/yoa3dw


Gord Dibben MS Excel MVP

On Mon, 3 Mar 2008 17:22:06 -0800, Destiney
wrote:

Is there a way when using a data validation list, to hyperlink the list
options to pages in the workbook? So for example, if you had a lot of
worksheets in one workbook, is there a way to choose a worksheet from the
list and have it go to the corresponding worksheet?


Thank you.


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
Validation Data using Validation Table cell range..... Dermot Excel Discussion (Misc queries) 16 January 5th 10 09:35 PM
Data Validation Update Validation Selection PCreighton Excel Worksheet Functions 3 September 11th 07 03:32 PM
data validation invalid in dynamic validation list ilia Excel Discussion (Misc queries) 0 November 7th 06 12:54 PM
data validation invalid in dynamic validation list ilia Excel Worksheet Functions 0 November 7th 06 12:54 PM
Data validation with validation lists and combo boxs Keith Excel Discussion (Misc queries) 1 October 12th 06 11:08 AM


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