Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Starting Excel with Personal.xls
Message
De
20/08/2004 18:46:13
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Starting Excel with Personal.xls
Divers
Thread ID:
00935086
Message ID:
00935086
Vues:
63
Starting Excel through Automation doen't load the XLSTART\PERSONAL.XLS macro file automatically. Running Excel from the Desktop loads Personal.xls from the XLSTART directory by default. How can I load and run PERSONAL.XLS from VFP?

My code to start:
cExcelFileName = 'c:\excel\shop\1-0960-01.xls'

oExcel = CREATEOBJECT('Excel.Application')
* I would like PERSONAL.XLS to load here.
* Then execute PERSONAL.XLS here.
oExcel.Workbooks.OPEN( cExcelFileName )
oExcel.VISIBLE = .T.

Thanks.

Bill
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform