Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Automation and Excel
Message
De
06/02/2003 09:42:32
 
 
À
06/02/2003 09:06:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00749786
Message ID:
00749834
Vues:
22
>Thanks for the infor but it did not work. Any other suggestions?
>
>Curt

I went back to view exactly what I do. In stead of trying to remember.

LOCAL oleExcel && Excel Application
LOCAL oleWB && Workbook
LOCAL oleSheet && WorkSheet

*** Open the session
oleExcel = CREATEOBJECT( "Excel.Application" )
*** Add a workbook
oleWB = oleExcel.WorkBooks.Add
*** Select the sheet
oleSheet = oleWB.ActiveSheet

All My Code To Add The Data.

*** Close the workbook
oleWB.Close
*** Close Excel
oleExcel.Quit && Important!!

** Release all the referances from memory
RELEASE oleSheet && Sheet
RELEASE oleWB && WorkBook
RELEASE oleExcel && Excel

I'm afraid beyond that I can't help
Mike
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform