Code vba pour Insertion d'une ligne au tableau automatiquement

Résolu/Fermé
yosra_miagi Messages postés 97 Date d'inscription jeudi 21 juin 2012 Statut Membre Dernière intervention 3 avril 2015 - 2 avril 2013 à 17:57
yosra_miagi Messages postés 97 Date d'inscription jeudi 21 juin 2012 Statut Membre Dernière intervention 3 avril 2015 - 3 avril 2013 à 17:59
Salut tout le monde
J'espère que vous pouvez m'aider, je veux connaitre la solution en vba qui me permet d'ajouter automatiquement une ligne au Tableau1à chaque insertion d'un nouveau personnel au Tableau1
Et merci
https://www.cjoint.com/c/CDcr3R2kT0N

7 réponses

Bonjour
ligne = F02.Range("A1").End(xlDown).Row + 1
F02.Range("A" & ligne) = C.numclient
F02.Range("B" & ligne) = C.nomclient
F02.Range("C" & ligne) = C.nb_h
F02.Range("D" & ligne) = C.prix
MsgBox "Ajout avec succès."

ca doit etre un truc comme ca

A+
0