Re: Excel Process Not Closed (C++) only after complete Application Shutdown



On Jul 31, 4:11 pm, "Ronald Dodge" <ronald.do...@xxxxxxxxxx> wrote:
Excel doesn't have a "SetSaved" property, but rather a "Saved" property on
the workbook. Therefore, the code may be erroring out prior to getting to
the lines dealing with closing out the workbooks and app, depending on how
you have the app setup to handle run-time errors.

Thanks for your responce... Yes the function SetSaved is available...
also I changed it as you suggested to Save();
but no luck... process still running...
any other sugestion?
thanks in advance...
-Kevin

.



Relevant Pages

  • Re: Excel Process Not Closed (C++) only after complete Application Shutdown
    ... the workbook. ... the lines dealing with closing out the workbooks and app, depending on how ... you have the app setup to handle run-time errors. ... It terminates it ...
    (microsoft.public.excel.programming)
  • RE: Workbook_open not running and Phantom Projects
    ... Close workbook and re-open ... running is probably caused by the project not closing. ... excel 2003 and 2000. ... I have tested my app through all the dev versions and found the ...
    (microsoft.public.excel.programming)
  • Re: CreateObject("Excel.Application")
    ... Out of suggestions, however, when the app does work correctly and quits, ... The app works great on most workbooks. ... workbook is larger than say 1000 lines per sheet. ... It's usually best to avoid references to ActiveSomething, ...
    (microsoft.public.excel.worksheet.functions)
  • Re: BeforeClose + SaveChanges := False
    ... Excel is on the verge of closing the workbook and will do ... >> iterative executions, is that either Excel should close the file the ...
    (microsoft.public.excel)
  • Re: Hide/disable Close button
    ... Thanks, Immanuel. ... the Exit button closes the db, then the app. ... as "closing the db")? ... >routine on the On Close event of this form. ...
    (microsoft.public.access.modulesdaovba)

Loading