Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combining Word merge pages
Message
De
21/07/2001 08:30:13
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00533452
Message ID:
00533498
Vues:
10
>I have an application in whitch I need to scan a file and pprint one of 25 Word merge documents based on the record's data. These documents need to print on a tray other than the default tray and on several different printers.
>
>I am looking for a way to combine all of the documents into one document and then print it at the end of the merges. So I need to create a blank document. create my individual merge documents and as each is created append it to the large document make sure there is a page break and then add the next document. Then at the end print it.
>
>Any suggestion?
>
>Dennis
with oWord
 .Documents.Add
 with .Selection
  for each cFileName in arrFiles
     .InsertFile(cFilename)
     .InsertBreak(wdPageBreak)
  endfor
 enwith
..
Cetin

endwith
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform