Bonsoir a tous,
A partir d'un Userform comportant 6 Textbox je renseigne la cellule active d'un tableau avec le code ci dessous
Private Sub boutonvalider_Click()
With ActiveCell ' sur la cellule active
ActiveCell.FormulaR1C1 = TextJourneedu & " " & TextHeurededebut & "" & TextHeuredefin & Chr(10) & TextNom & Chr(10) & TextAdresse & Chr(10) & TextCommentaire
ActiveCell.EntireRow.AutoFit
Unload Me
End With
End Sub
J'aimerais savoir: - Comment je pourrais faire pour attribuer a chaque variable de Textbox une couleur
- Centrer TextNom et TextAdresse
Merci de votre Aide