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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only