Sub deb(texte)
With ActiveSheet
n = InStrRev(texte, ",", -1)
ad1 = Mid(texte, n + 1, Len(texte) - n - 1)
n = InStrRev(texte, ",", n - 1)
k1 = Mid(texte, n + 1, Len(texte) - n - 1 - Len(ad1) - 1)
n = InStrRev(texte, ",", n - 1)
ad2 = Mid(texte, n + 1, Len(texte) - n - 3 - (Len(ad1) + Len(k1)))
d1 = .Range(ad1)
d2 = .Range(ad2)
End With
With ThisWorkbook.Sheets("tcd")
c = .UsedRange.Find(d1).Column
l = .UsedRange.Find(d2).Row
.Cells(l, c).ShowDetail = True
End With
End Sub
------------------------------
Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)
If Left(Target.Formula, 1) <> "=" Then Exit Sub
Call deb(Target.Formula)
End Sub