Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Excel Illegal operation
Message
De
29/06/1999 12:48:43
 
 
À
29/06/1999 12:04:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00235217
Message ID:
00235329
Vues:
30
If you set the visibility of excel to false and then set loExcel to null

Ex:

loExcel = CreateObject('Excel.Application')
loBook = loExcel.ActiveWorkBook
lcFileName = "C:\Pam\statusreports\May-Data Man.xls"
loExcel.Workbooks.Open(lcFileName)
loExcel.Visible = .T.


loExcel.Visible = .F.
* Closes the workbook
loExcel.WorkBooks.Close
*Releases the application
loExcel = .Null.


Thanks
Darren
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform