date dans textbox

  • Initiateur de la discussion tof
  • Date de début
T

tof

Guest
bonjour a tous
j ai une tte ptte question
quelqu'un peut il me dire comment dans le fichier ci joint parametrer en VBA le format date dans la texte box 1 Jour mois annee Ex: lundi 5 avril 2004
Merci d avance
tof
 

Pièces jointes

  • PLANNINgtes1t.zip
    38.1 KB · Affichages: 13
  • PLANNINgtes1t.zip
    38.1 KB · Affichages: 9
  • PLANNINgtes1t.zip
    38.1 KB · Affichages: 10
A

Arnaud

Guest
salut,

tu peux faire comme ça :

Private Sub UserForm_Activate()
Dim madate As Variant
madate = Date
TextBox1.Value = Day(madate) & " " & MonthName(Month(madate)) & " " & Year(madate)
End Sub
 
A

Arnaud

Guest
pour la date moi ça marche, tu a du te tromper.
sinon g pas vu ton userForm3 dans ton classeur.
 

Pièces jointes

  • PLANNINgtes1t.zip
    32.7 KB · Affichages: 10
  • PLANNINgtes1t.zip
    32.7 KB · Affichages: 7
  • PLANNINgtes1t.zip
    32.7 KB · Affichages: 6

Statistiques des forums

Discussions
312 368
Messages
2 087 653
Membres
103 630
dernier inscrit
Azashoriu