Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printing an Excel Spreadsheet
Message
De
30/01/2001 17:02:16
Jim Rieck
Quicken Loans/Rock Financial/Title Sourc
Livonia, Michigan, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Printing an Excel Spreadsheet
Divers
Thread ID:
00470367
Message ID:
00470367
Vues:
44
Hey All,

Does anyone know how to make Excel print a spreadsheet after it's open from VFP using OLE automation? Existing code is below, thanks for the help.

Jim

oExcel=CREATEOBJECT("Excel.Application")
oExcel.Workbooks.Open(SYS(5) + SYS(2003) +"\docs\compat.xls")
oExcel.Visible=.T.
Thanks

Jim
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform