Re : Probleme feuille qui d'active a l'ouverture userform.
bonsoir Paf, Le forum
merci de ta réponse
c'est bien ce que je pense également
mais mise a part la partie TYPE GPIM je ne comprend pas
Private Sub userForm_Initialize()
'DATE DU JOUR
TextBox5.Value = Format(Now(), "dd/mm/yyyy") 'Affiche de la date du jour et formatage de la date
'N° incrementer colonne A
With Sheets("AVIGNON")
dl = .[A65536].End(xlUp).Row
S = Replace(.Cells(dl, 1), "14AV-", "")
S = Format(S + 1, "000")
TextBox4 = "14AV-" & S
End With
'=================================================================================================
'LISTBOX TYPE GPIM
With Sheets("LISTES").Select
ListBox3.RowSource = "X3:X7"
End With
'=====================================================================================================
'7 CARACTERES MAXIMUM N°GPIM
TextBox7.MaxLength = 7
TextBox7.AutoTab = True
'=============================================================================================================
End Sub
Merci de ton aide
Si besoin je mettrai un ficher allégé
@@@ Mendigot
EDIT: Feuille 1 AVIGNON Feuil 2 LISTES