Option Explicit
Sub Test_pour_JCGL()
MsgBox "La cellule contient : " & RecupInfo(Cells(4, 4) & Cells(4, 5), Cells(4, 6), 5, 3), vbInformation, "Valeur..."
End Sub
Sub Test_pour_Titine()
MsgBox "La cellule contient : " & RecupInfo(Cells(3, 4) & Cells(3, 5), "Feuil1", 2, 1), vbInformation, "Valeur..."
End Sub
Function RecupInfo(Fichier As String, Feuille As String, Ligne As Long, Col As Integer)
With CreateObject("Excel.Application").Workbooks.Open(Fichier)
RecupInfo = .Worksheets(Feuille).Cells(Ligne, Col)
.Close False
End With
End Function