ciao matteo
l'errore te lo da perché trova gia' i fogli nominati quindi lasciamo perdere la modifica alla sub() teniamola cosi come
Option Explicit
Sub xxxx()
Dim nomeSH As String
Dim i As Long
Sheets("Indice").Select
For i = 2 To Cells(Rows.Count, "A").End(xlUp).Row
nomeSH = Cells(i, "A") & "-" & Cells(i, "B")
With Sheets.Add
.Name = nomeSH
End With
With Cells(1, "A").Select
ActiveSheet.Hyperlinks.Add Anchor:=Selection, Address:="", SubAddress:= _
"'Indice'!A1", TextToDisplay:="'-->> Ritorto A Indice"
End With
Sheets("Indice").Select
With Cells(i, "C").Select
ActiveSheet.Hyperlinks.Add Anchor:=Selection, Address:="", SubAddress:= _
"'" & nomeSH & "'!A1", TextToDisplay:="'Collegamento a --> " & nomeSH & "'!A1"
End With
Next i
End Sub
e mettiamo sempre nello stesso modulo quest'altra che inserisce il linc in ogni foglio gia creato
Sub Ritorno_a_Indice()
Dim i As Long
For i = 1 To Sheets.Count
Sheets(i).Select
With Cells(1, "A").Select
ActiveSheet.Hyperlinks.Add Anchor:=Selection, Address:="", SubAddress:= _
"'Indice'!A1", TextToDisplay:="'-->> Ritorto A Indice"
End With
Next i
End Sub
con questa non ti cambio il lavoro gia' fatto
Ciao da locate
excel 2007 / 13