Option Explicit
Function ColorFrom(Cellule As Range, _
Optional font_color As Boolean = False, _
Optional back_color As Boolean = True) As Variant
'Copie la couleur du texte de la Cellule en paramètre dans la cellule qui appelle la fonction
With Application.Caller
If font_color Then .Font.Color = Cellule.Font.Color
If back_color = True Then .Interior.Color = Cellule.Interior.Color
End With
ColorFrom = Empty
End Function