Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 277
Default Dynamic worksheet selection using messagebox

On Sat, 20 Feb 2010 13:28:03 -0800, ryguy7272
wrote:

Give this a go:
Sub GoToSheet()
myShts = ActiveWorkbook.Sheets.Count
For i = 1 To myShts
myList = myList & i & " - " & ActiveWorkbook.Sheets(i).Name & " " & vbCr
Next i
Dim mySht As Single
mySht = InputBox("Select sheet to go to." & vbCr & vbCr & myList)
Sheets(mySht).Select
End Sub



Or do it without code via a simple drop down list that references to a
table of your desired selections, which would be a hyperlink to the
selected sheet.
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
Dynamic Range Selection Phil P[_2_] Excel Programming 2 February 9th 09 08:32 PM
Dynamic Range Selection Phil P Excel Programming 2 February 9th 09 08:22 PM
VBA Dynamic Selection AJMorgan591 Excel Programming 2 October 6th 05 12:20 PM
Messagebox: Alert user Worksheet is Unprotected Maria[_6_] Excel Programming 4 November 5th 03 04:34 AM
Dynamic Row Selection Bruce B[_2_] Excel Programming 4 July 14th 03 09:14 PM


All times are GMT +1. The time now is 02:21 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"