Importation fichier .txt : fichier de bibliographie

Viz88

XLDnaute Nouveau
Bonjour,

J'effectue une revue de la littérature sur plusieurs base de données médicale dont "The Cochrane library"
Après avoir effectué mon équation de recherche, j'obtiens une liste d'article que je peux exporter au format .txt
Le problème est que cette liste n'est qu'en ligne et pas en colonne :

Ex :

Record #1 of 24
ID: CD006566
AU: Cashman Clodagh M
AU: Ruotsalainen Jani H
AU: Greiner Birgit A
AU: Beirne Paul V
AU: Verbeek Jos H
TI: Alcohol and drug screening of occupational drivers for preventing injury
SO: Cashman Clodagh M, Ruotsalainen Jani H, Greiner Birgit A, Beirne Paul V, Verbeek Jos H. Alcohol and drug screening of occupational drivers for preventing injury. Cochrane Database of Systematic Reviews: Reviews 2009 Issue 2 John Wiley & Sons, Ltd Chichester, UK DOI: 10.1002/14651858.CD006566.pub2
YR: 2009
NO: 2
PB: John Wiley & Sons, Ltd
US: Wiley Online Library: Book Abstract
KY: Humans [checkword]; Motor Vehicles [statistics & numerical data]; Substance Abuse Detection; Accidents, Occupational [prevention & control] [statistics & numerical data]; Alcoholism [diagnosis]; Substance-Related Disorders [diagnosis]; United States [epidemiology]; Workplace; Wounds and Injuries [epidemiology] [prevention & control]
CC: HM-INJ
DOI: 10.1002/14651858.CD006566.pub2


Record #2 of 24
ID: CD006688
AU: van Eijk Anna M
AU: Terlouw Dianne J
TI: Azithromycin for treating uncomplicated malaria
SO: van Eijk Anna M, Terlouw Dianne J. Azithromycin for treating uncomplicated malaria. Cochrane Database of Systematic Reviews: Reviews 2011 Issue 2 John Wiley & Sons, Ltd Chichester, UK DOI: 10.1002/14651858.CD006688.pub2
YR: 2011
NO: 2
PB: John Wiley & Sons, Ltd
US: Wiley Online Library: Book Abstract
KY: Female [checkword]; Humans [checkword]; Male [checkword]; Antimalarials [therapeutic use]; Artemisinins [therapeutic use]; Atovaquone [therapeutic use]; Azithromycin [therapeutic use]; Chloroquine [therapeutic use]; Drug Combinations; Drug Therapy, Combination; Ethanolamines [therapeutic use]; Fluorenes [therapeutic use]; Malaria, Falciparum [drug therapy]; Malaria, Vivax [drug therapy]; Mefloquine [therapeutic use]; Proguanil [therapeutic use]; Pyrimethamine [therapeutic use]; Randomized Controlled Trials as Topic; Sulfadoxine [therapeutic use]; Treatment Failure
CC: HM-INFECTN
DOI: 10.1002/14651858.CD006688.pub2

Record #3 of 24
ID: CD008631
etc...


Sur excel j'ai pu mettre dans la première colonne le nom des différentes catégories pour chaque article :

Colonne 1
"Reco
ID:
AU:
AU:
AU:
AU:
AU:
TI:
SO:
YR:
NO:
PB:
US:
KY:
CC:
DOI:
AB:


Reco
ID:
AU:
AU:
AU:
AU:
AU:
AU:
AU:
TI:
SO:
YR:
NO:
PB:
US:
KY:
CC:
DOI:
AB:
"

Et dans la 2ème colonne ce qui correspond...

Mais pour pouvoir utilisé au mieux ce fichier je voudrai pouvoir diviser les catégories dans chaque colonne :
Colonne 1 Colonne 2 Colonne 3 Colonne 4 Colonne 5 Colonne 6 Colonne 7 ...
Record ID: AU: TI: SO: YR: NO:
#1 of 24
#2 of 24
...

Voilà,
est-ce possible sur excel ??? ...dites moi oui ;-)

PS : Je joins le fichier .txt extrait sur cochrane (ds le .zip) et le fichier .xlsx que j'ai obtenu
 

Pièces jointes

  • Biblio cochrane.xlsx
    28.3 KB · Affichages: 109
  • biblio cochrane.zip
    21 KB · Affichages: 34

Grand Chaman Excel

XLDnaute Impliqué
Re : Importation fichier .txt : fichier de bibliographie

Bonjour,

Voici une proposition testée avec ton fichier xls.
La macro s'appelle ConvertirDonnees.

Je n'ai pas testé avec 291 articles, ça pourrait prendre plusieurs secondes à rouler.

Note: que j'ai peut-être oublié des catégories, mais tu pourras les ajouter dans la macro (c'est indiqué)

A+
 

Pièces jointes

  • Biblio%20cochrane(1).xlsm
    37.5 KB · Affichages: 66

Grand Chaman Excel

XLDnaute Impliqué
Re : Importation fichier .txt : fichier de bibliographie

Je t'ai ajouté un bouton dans l'onglet Feuil1 que tu n'as qu'à cliquer.

Sinon, pour exécuter la macro, fait ALT + F8. Dans la fenêtre qui va s'ouvrir, sélectionne la macro "ConvertirDonnees" et clique sur Exécuter.

Pour voir le code de la macro, fait ALT + F11 pour ouvrir l'éditeur de macro. Dans l'arborescence à gauche, clique sur ton projet, dans Modules puis double-clique sur "Module1".

A+
 

Pièces jointes

  • Biblio%2520cochrane(1)2.xlsm
    39.3 KB · Affichages: 94

Statistiques des forums

Discussions
312 839
Messages
2 092 683
Membres
105 509
dernier inscrit
hamidvba