esterline.romuald
XLDnaute Nouveau
Bonjour à tous
Je suis assistant dans un service du personnel, je metrise les base d'excel pour pas les macros, chaque semaine je dois rentrer les heures des employé dans un logiciel, pour se faire se dois faire un fichier csv d'un fichier Excel mais je dois faire quelques manipulations manuellement sur le fichier
Est-il possible de faire une macro qui ferai tous en une seul fois, c'est juste pour gagner du temps
Voici la liste des choses que je fais
1. SUPPRESSION COLONNE E
2. CODE 30 ET 1 ET 2 : SUPPRIMER LES LIGNE
3. COLONNE F : CODE 11 : ALORS CTVAR5 DOIT ETRE EGALE A CTVAR4 SAUF SI CTVAR 5 = 0
4. COLONNE F : CODE 43 : VSD : CTVAR 5 : 2,33 CTVAR92 : 6
5. COLONNE F : CODE 44 et 45 : CTVAR 5 : 3 CTVAR92 : 8
6. COLONNE F : CODE 61 : CTVAR 5 = 6,66
7. COLONNE F : CODE 63 : CTVAR 5 = 6,66
8. COLONNE F : CODE 64 NUIT : CTVAR 5 = 0,33 CTVAR92 : 7,75
9. COLONNE F : CODE 65 NUIT : CTVAR 5 = 3,50 CTVAR92 : 3,42
10.COLONNE F : NUMODJO : CODE 10 : ALORS CTVAR5 DOIT ETRE EGALE A CTVAR4 SAUF SI CTVAR 5 = 0
11.FILTRE COLONNE CDACT : SI DES AI METTRE O DS CTVAR5
12.SI COLONNE CDACT = FERI ALORS CTVAR5 DOIT ETRE EGALE A CTVAR4
13.SI COLONNE CDACT = HS SUR LE SAMEDI ON MET 0
14.SI HS JOUR DE LA SEMAINE ALORS CTVAR5 DOIT ETRE EGALE A CTVAR4
15.SI PERSONNE MAL OU MAL 3 METTRE O DS CTVAR5
16.SI PERSONNE MIS : ALORS CTVAR5 DOIT ETRE EGALE A CTVAR4
17.SUPPRIMER COLONNE APRES CTVAR 92
18.COLONNE CTVAR 92 : Si 1 mettre 0
19.Remplacer virgule par point
20.supprimer ligne d entete
21.enregistrer format csv
Je vous joint un fichier exemple ou j'ai enlevé le nom des employés, je n'ai mis que 20 employes mais le fichier fait 4000 lignes quand il y a tous le monde
Pouvez vous m'aider ?
Je vous remercie d'avance pour votre aide
Romuald
Je suis assistant dans un service du personnel, je metrise les base d'excel pour pas les macros, chaque semaine je dois rentrer les heures des employé dans un logiciel, pour se faire se dois faire un fichier csv d'un fichier Excel mais je dois faire quelques manipulations manuellement sur le fichier
Est-il possible de faire une macro qui ferai tous en une seul fois, c'est juste pour gagner du temps
Voici la liste des choses que je fais
1. SUPPRESSION COLONNE E
2. CODE 30 ET 1 ET 2 : SUPPRIMER LES LIGNE
3. COLONNE F : CODE 11 : ALORS CTVAR5 DOIT ETRE EGALE A CTVAR4 SAUF SI CTVAR 5 = 0
4. COLONNE F : CODE 43 : VSD : CTVAR 5 : 2,33 CTVAR92 : 6
5. COLONNE F : CODE 44 et 45 : CTVAR 5 : 3 CTVAR92 : 8
6. COLONNE F : CODE 61 : CTVAR 5 = 6,66
7. COLONNE F : CODE 63 : CTVAR 5 = 6,66
8. COLONNE F : CODE 64 NUIT : CTVAR 5 = 0,33 CTVAR92 : 7,75
9. COLONNE F : CODE 65 NUIT : CTVAR 5 = 3,50 CTVAR92 : 3,42
10.COLONNE F : NUMODJO : CODE 10 : ALORS CTVAR5 DOIT ETRE EGALE A CTVAR4 SAUF SI CTVAR 5 = 0
11.FILTRE COLONNE CDACT : SI DES AI METTRE O DS CTVAR5
12.SI COLONNE CDACT = FERI ALORS CTVAR5 DOIT ETRE EGALE A CTVAR4
13.SI COLONNE CDACT = HS SUR LE SAMEDI ON MET 0
14.SI HS JOUR DE LA SEMAINE ALORS CTVAR5 DOIT ETRE EGALE A CTVAR4
15.SI PERSONNE MAL OU MAL 3 METTRE O DS CTVAR5
16.SI PERSONNE MIS : ALORS CTVAR5 DOIT ETRE EGALE A CTVAR4
17.SUPPRIMER COLONNE APRES CTVAR 92
18.COLONNE CTVAR 92 : Si 1 mettre 0
19.Remplacer virgule par point
20.supprimer ligne d entete
21.enregistrer format csv
Je vous joint un fichier exemple ou j'ai enlevé le nom des employés, je n'ai mis que 20 employes mais le fichier fait 4000 lignes quand il y a tous le monde
Pouvez vous m'aider ?
Je vous remercie d'avance pour votre aide
Romuald