Bonjour,
Un essai, voir si ça convient ...
Private Sub TextBox1_DblClick(ByVal Cancel As MSForms.ReturnBoolean)
''''Sub OuvertureDeFichier()
''''par Excel-Malin.com ( https://excel-malin.com )
On Error GoTo OuvertureFichierErreur
Dim MonApplication As Object
Dim MonFichier As String
Set MonApplication = CreateObject("Shell.Application")
MonFichier = TextBox1.Value '"C:\MonDossier\MonFichier.txt" 'à remplacer par votre fichier
MonApplication.Open (MonFichier)
Set MonApplication = Nothing
Exit Sub
OuvertureFichierErreur:
Set MonApplication = Nothing
MsgBox "Erreur lors de l'ouverture de fichier..."
''CreateObject("shell.application").ShellExecute Me.TextBox1, "", "", "edit", 1
End Sub
ric