Vba nouveau
Résolu/Fermé
A voir également:
- Vba nouveau
- Nouveau outlook - Guide
- Créer un nouveau compte gmail - Guide
- Créer un nouveau compte facebook gratuit - Guide
- Créer un nouveau compte google - Guide
- Créer un nouveau compte instagram - Guide
2 réponses
gbinforme
Messages postés
14946
Date d'inscription
lundi 18 octobre 2004
Statut
Contributeur
Dernière intervention
24 juin 2020
4 686
1 déc. 2009 à 18:57
1 déc. 2009 à 18:57
bonjour
Il faut positionner ta ligne de copie, comme ceci par exemple :
Il faut positionner ta ligne de copie, comme ceci par exemple :
Sub enregistrer() ' ' enregistrer Macro Dim lig As Long lig = Sheets("liste bdc").Cells(Columns(1).Cells.Count, 1).End(xlUp).Row + 1 Sheets("liste bdc").Cells(lig, 1) = Sheets("bdc").Range("B6") Sheets("liste bdc").Cells(lig, 2) = Sheets("bdc").Range("B7") Sheets("liste bdc").Cells(lig, 3) = Sheets("bdc").Range("C30") Sheets("liste bdc").Cells(lig, 4) = Sheets("bdc").Range("C31") Sheets("liste bdc").Cells(lig, 5) = Sheets("bdc").Range("D25") Sheets("dispo").Select End Sub