Je ne comprend pas très bien...
et je me suis trompé dans le lien aussi
ci dessous le code initial corrige:
Private Sub VALIDER_Click()
Dim txt As String
Dim ret As String
If CheckBox2.Value = True Then
ret = "P:\Personelle\03 Archives\" & TextBox2.Value & " – " & "*"
txt = Dir(ret, vbDirectory)
ThisWorkbook.FollowHyperlink txt
End If
et toi le code que tu me demande d'essayer est celui ci ?
Private Sub VALIDER_Click()
Dim stRep As String
Dim WshShell As Object
Set WshShell = CreateObject("WScript.Shell")
stRep = WshShell.SpecialFolders("P:\Personelle\03 Archives")
If CheckBox2.Value = True Then
'ret = "P:\Personelle\03 Archives\" & TextBox2.Value & " – " & "*"
' txt = Dir(ret, vbDirectory)
ThisWorkbook.FollowHyperlink stprep
End If