View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.programming
andy the pugh andy the pugh is offline
external usenet poster
 
Posts: 12
Default macro to send you to a specified worksheet

On May 28, 3:50*pm, Jack Wood
wrote:
*Then once at that specific
worksheet I have typed RTN TO INDEX & need a macro on that worksheet
when RTN TO INDEX is selected, will return you to the Index.


Perhaps put this code in the ThisWorkbook module?

Private Sub Workbook_SheetSelectionChange(ByVal Sh As Object, ByVal
Target As Range)
If Target.Value = "RTN TO INDEX" Then
Application.Goto Sheet1.Range("A1"), True
End If
End Sub