Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Excel Illegal operation
Message
From
29/06/1999 12:48:43
 
 
To
29/06/1999 12:04:46
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00235217
Message ID:
00235329
Views:
29
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform