Sub Mk()
Dim colonne, destination As String
Dim ligne As Integer
Dim plage As Range
colonne = InputBox("Colonne à analyser")
ligne = InputBox("Nombre de ligne à analyser")
Set plage = Range(Cells(1, colonne), Cells(ligne, colonne))
destination = InputBox("Cellule de destination de la moyenne ?")
Cells(Mid(destination, 2, 5), Mid(destination, 1, 1)) = Application.WorksheetFunction.Average(plage)
End Sub