comment je peux renvoyer le titre au retour de la fonction ????
Merci José je crois que comme çà c'est bon ....
Function titre_feuille(titre As String, ligne As Integer) As String Sheets("PARAMETRES").Visible = True Sheets("PARAMETRES").Select Range("Z31").Select Range(Selection, Selection.End(xlToRight)).Select ActiveCell.Offset(ligne, Application.Match(titre, Selection, 0) - 1).Select titre_feuille = ActiveCell.Value End Function
José
Function Va_chercher(feuille As String, ligne As Integer) As String
comment je peux renvoyer le titre au retour de la fonction ????
Merci
José
je crois que comme çà c'est bon ....
Function titre_feuille(titre As String, ligne As Integer) As String
Sheets("PARAMETRES").Visible = True
Sheets("PARAMETRES").Select
Range("Z31").Select
Range(Selection, Selection.End(xlToRight)).Select
ActiveCell.Offset(ligne, Application.Match(titre, Selection, 0) -
1).Select
titre_feuille = ActiveCell.Value
End Function
comment je peux renvoyer le titre au retour de la fonction ????
Merci José je crois que comme çà c'est bon ....
Function titre_feuille(titre As String, ligne As Integer) As String Sheets("PARAMETRES").Visible = True Sheets("PARAMETRES").Select Range("Z31").Select Range(Selection, Selection.End(xlToRight)).Select ActiveCell.Offset(ligne, Application.Match(titre, Selection, 0) - 1).Select titre_feuille = ActiveCell.Value End Function