I've been able to create and manipulate an Excel spreadsheet from within VFP. When I close the save and close the spreadsheet (see code below), the XLS file is still tagged as being 'in use' and there is an instance of Excel running when I press a Ctrl-Alt-Del. How do I successfully close the file and terminate Excel?
** Code from tail end of my program... oExcel.ActiveWorkbook.Save wait window 'Saving updated spreadsheet...' timeout 3 release oExcel close data all
Red Flag Submitted
Thank you for helping keep Tek-Tips Forums free from inappropriate posts. The Tek-Tips staff will check this out and take appropriate action.
Reply To This Thread
Posting in the Tek-Tips forums is a member-only feature.