# The EXCEL.EXE process crashed. Exception code: 0xC0000409.

**URL:** <https://community.smartbear.com/t/the-excel-exe-process-crashed-exception-code-0xc0000409/421>\
**Category:** TestComplete\
**Tags:** test, testcomplete, migrated, desktop-testing, latest\
**Created:** [April 6, 2026, 8:12am UTC](https://community.smartbear.com/t/the-excel-exe-process-crashed-exception-code-0xc0000409/421 "2026-04-06T08:12:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://avatars.discourse-cdn.com/v4/letter/s/bcef8e/32.png) [@system](https://community.smartbear.com/u/system)\
**Post date:** [April 6, 2026, 8:12am UTC](https://community.smartbear.com/t/the-excel-exe-process-crashed-exception-code-0xc0000409/421/1 "2026-04-06T08:12:33Z")

</div>

> Originally posted by **aunnisa** on April 06, 2026

Hi,

We are currently facing excel crash issue when we are tring to save .dwg file from our desktop application…saveAs Dialog is triggering SaveAsExternal.exe application which is internally using excel

# #Save As the file from within SPID.

saveAsExternalProcess = Sys.WaitProcess(“saveasExternal”, 50000)  
if not saveAsExternalProcess.Exists:  
Log.Error(“saveasExternal process did not start within timeout”)  
else:  
btn = saveAsExternalProcess.FindChild(“WndCaption”, “&Close”, 3)  
if btn.Exists:  
closeButton = btn  
closeButton.ClickButton()  
else:  
Log.Message(“saveasExternal process completed (process exited or close button not found)”

exactly at line btn = saveAsExternalProcess.FindChild(“WndCaption”, “&Close”, 3) we are getting the error as shown in the log The EXCEL.EXE process crashed.

Error:  
Exception code: 0xC0000409.  
Process identifier (PID): 11468.  
Dump file: EXCEL\_ue\_9c850e00.dmp.

 ![](https://canada1.discourse-cdn.com/flex049/uploads/smartbear_prod/original/1X/4aacbe29e1d8aea3cba7cd76bf4fa357d5dbdc54.png)

note: if i put a breakpoint at line btn = saveAsExternalProcess.FindChild(“WndCaption”, “&Close”, 3) and wait till the process is completed it is working fine

 ![](https://canada1.discourse-cdn.com/flex049/uploads/smartbear_prod/original/1X/22ad5a151aaa7957daa9331bc0733c3fdd9bf792.png)

can you please look into this issue, Thanks

---

<div class="post-metadata">

**Author:** ![system](https://avatars.discourse-cdn.com/v4/letter/s/bcef8e/32.png) [@system](https://community.smartbear.com/u/system)\
**Post date:** [April 6, 2026, 8:45am UTC](https://community.smartbear.com/t/the-excel-exe-process-crashed-exception-code-0xc0000409/421/2 "2026-04-06T08:45:13Z")

</div>

> Originally posted by **rraghvani** on April 06, 2026

What application is using Excel? Are you referencing Excel within TestComplete?
