(...) Peux t on à partir du code VBA dans la macro, retrouver la formule dans la cellule ? (...)
Sub xxx()
Dim x As Boolean
x = Application.DisplayAlerts
Application.DisplayAlerts = False
ActiveCell.FormulaR1C1 = "=COUNTIF(A!C1:C12,'B'!RC1&""R7"")"
ActiveCell.Value = "'" & ActiveCell.FormulaLocal
Application.DisplayAlerts = x
End Sub