Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Foxpro and Excel?
Message
De
14/07/1999 09:24:31
Nikki Bannister
K&M Computer Systems Ltd
Birmingham, Royaume Uni
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Foxpro and Excel?
Divers
Thread ID:
00241240
Message ID:
00241240
Vues:
53
Hi

I have opened an excel spreadsheet using the code below.

copy to c:\Viewing_master type xls
temp_sheet = getobject('','excel.sheet')
XLApp = temp_sheet.application
XLApp.visible = .t.
XLApp.WorkBooks.open('c:\Viewing_master.xls')

XLApp.WindowState = 1 && Incase minimised

I have two questions,

1. This seems too simple, is there any checks or anything I have missed out?
2. What is the code to then set the pagesetup of this spreadsheet to landscape?

Thanks

Nicky
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform