Hello, I would like to implement a specific code on worksheets within my workbook, provided that the name of the sheet contains only two letters and ignore the rest.
VBA Code:
For i = 2 To Sheets.Count
nf = Sheets(i).Name
ws.Hyperlinks.Add Anchor:=ws.Cells(i + 2, 10), Address:="", SubAddress:="'" & _
nf & "'" & "!A1", TextToDisplay:=nf
Next i
Last edited: