Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combine n word documents to a new doc
Message
De
11/03/2010 06:22:14
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
11/03/2010 04:20:20
Albert Beermann
Piepenbrock Service Gmbh & Cokg
Osnabrück, Allemagne
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Database:
MySQL
Divers
Thread ID:
01453867
Message ID:
01453881
Vues:
44
>Hello Everybody
>
>I want to combine n smaller word documents to a new big word document via programm.(VFP9.2,Word 2003)
>open word
>add or insert or ??? 1.doc,2.doc,3.doc
>save as new.doc
>close word
>
>I found a lot about merging but no example for this simple? task.
>
>Any help welcomed
>Best regards
>Albert

I don't know the command, but for unknown commands, I would usually proceed as follows: Open the first document in Word - it may be an empty document. Then start saving a macro, and give the command - still in Word - to insert a document. Stop saving the macro, and look at the generated code. Some changes have to be made to adapt the resulting code to Word, but at least you know what commands are required.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform