Thanks jolivanes and SamT.
Quote:
Originally Posted by
jolivanes
Is there a cell in a sheet that has that particular project name?
Or, where is the new sheet placed? At the end? At the beginning? Following a certain sheet?
If the project sheet is added to the end, this should do.
Code:
Sub GoTo_Project()
ThisWorkbook.Sheets(ThisWorkbook.Sheets.Count).Select
End Sub
If the project name (same as sheet name) is in Cell B2 of Sheet1.
Code:
Sub GoTo_Project()
Dim shName As String
shName = Sheets("Sheet1").Cells(2, 2).Value '<---- Change as required
ThisWorkbook.Sheets(shName).Select
End Sub