Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Insert excel sheet into word doc
Message
De
26/06/2015 12:00:25
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Insert excel sheet into word doc
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01621486
Message ID:
01621486
Vues:
58
in the past users had to print about 200 agency data on a report
each of them contains 1 word doc as cover sheet and 1 to many excel sheets
so they printed all word docs then all excels of one type and then all of another type and then had to collate all that by hand
awful!

i would like to create a word doc, insert a section break at the end and insert the first elsx, another section break and the next xlsx

what I can't find is how to insert a section break and then I could
oDocument.InlineShapes.AddOLEObject("Excel.Sheet.12","H:\vAPPBAI\vBAI\Excel\AAVF_2014630_AES48000.xlsx",.t.,.f.)
but the excel sheet is to wide. can I scale it to fit between the left and right margin??

thanks

in case someone thinks i should google it, I did!


Peter
Peter Cortiel
Répondre
Fil
Voir

Click here to load this message in the networking platform