question

RvR000-0740 avatar image
0 Votes"
RvR000-0740 asked emilyhua-msft commented

Excel Error 1002: Excel hangs after trying to close application

For a month now, Excel (Office 265) has been sticking when closing. Even when Excel is opened without a file, and then closed, this problem occurs. Word and PowerPoint do not have this problem. If I start Excel in safe mode the problem does not occur, but no add-ons are active.

I have already completely reinstalled Office once , but the problem remains.

The log indicates the following (translated from Dutch):

The program EXCEL.EXE, version 16.0.14026.20270 is no longer responding to Windows and has been shut down. To see if more information about the problem is available, see the problem history in the Security and Maintenance section of the Control Panel.

Process ID: cf0

Start time: 01d763606b9ae8b7

End time: 24

Application path:

Rapport-id: 174f0e1a-2a68-47ce-9aa8-06551c27f991

Full package name with error:

Relative application id of package with error:

Fixed type: Unknown

office-excel-itpro
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

RvR000-0740 avatar image
1 Vote"
RvR000-0740 answered emilyhua-msft commented

New account created and problem solved. Thank you for your help!

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@RvR000-0740
You are welcome.
Could you please accept your this reply as an answer?
This action could help other users on Q&A forum who encounter a similar issue and read this thread. Thank you~

0 Votes 0 ·
emilyhua-msft avatar image
0 Votes"
emilyhua-msft answered

@RvR000-0740

If this issue does not occur with Excel in safe mode, in addition to checking add-ins, I also suggest you locate to C:\Users\<User Name>\AppData\Roaming\Microsoft\Excel\XLSTART, check whether there is any files or sub-folders in this forloder. If yes, please temporarily move the start items to other location to check the problem.

Besides, if the issue still persists, you may start the computer in clean boot. Clean boot is performed to disable startup programs and 3rd-party services on the machine and check if they are conflicting with the Excel.
(Note: Ensure to restart the computer in normal mode once troubleshooting is completed.)

Any updates, you may post back.


If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

RvR000-0740 avatar image
0 Votes"
RvR000-0740 answered RvR000-0740 edited

Hi Emily,
Thank you for looking into it.

In safe mode excel doesn't start. "Some thing went wrong" with error code 0x426-0x0. Tried the repair function with no luck. So I deleted MsOffice365 and reinstalled it for the second time. The hanging problem of Excel persisted. I restarted again in save mode en Excel still doesn't want to start (same error code). I checked how the Microsoft Office Services is configured, but I can't find it in the list of services.

C:\Users\<User Name>\AppData\Roaming\Microsoft\Excel\XLSTART is empty
Don't know if it is relevant but I have 3 maps under Users
- Default
- User (it is called 'user' instead of my actual name)
- Public


· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@RvR000-0740
Thanks for your response.
Which Windows account do you use, Default, User or Public? Does this account you use have adminitstrator permission?
Are these user profiles redirected to other places?
I suggest you create a new local adminisrtator account, it means that you may install the Microsoft 365 apps in this new account for a test.


0 Votes 0 ·

I only use "user". It has administrator permission. I'm not sure what you mean with redirected to other places. I have 3 hdd drives, but the MsOffice software is on the default C-drive.

I'm not very enthusiastic about creating a second account. But I understand it can be helpful in detecting the problem. It will take some time for me to do so. To make sure nothing will go wrong I will try to do so in a weekend, but next weekend I'm away. So It will probable take 2 weeks for me to respond to you.

0 Votes 0 ·
RvR000-0740 avatar image
0 Votes"
RvR000-0740 answered emilyhua-msft commented

I've created an other account with no administrator permission and no connection to a Ms account and no OneDrive connection.

Excel starts fine and closes normally in this account.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@RvR000-0740
Thanks for your quick response.

  • Please go back to the previous account, locate to Office installation root directory, such as C:\Program Files\Microsoft Office\root\Office16, find EXCEL.EXE and WINWORD.EXE.
    Right click them, choose Properties > Security tab > Click“User" account in the list, compare the permissions of this account on different Office application files.

  • Then go to Compatibility tab > Check whether "Run this program in compatibility mode for:" box is ticked. If yes, please uncheck it; if not, you may try it.
    Besides, tick the box of "Run this program as an adminisrtator". And then, double-click EXCEL.EXE and close it to check this issue.

  • If there is any antivirus software, I suggest you quit it temporarily to prevent it from blocking Excel.


0 Votes 0 ·
RvR000-0740 avatar image
0 Votes"
RvR000-0740 answered emilyhua-msft edited

Hello Emily,

Thanks for all the time you put into it.

  • In the Security tab the permissions of Word and Excel are different for "Users". In Word 'Full control' and 'Adjustments' were granted and in Excel not. So I changed Excel and permitted users all rights. This didn't solve the problem.

  • The Compatibility mode was not ticked. I tried the compatibility mode for Windows 7 and 8. This didn't solve the problem.

  • Running the program as administrator is also not helping.

  • Stopping Ms antivirus program didn't help.

A workaround could be if I could configure Excel to always start as: Excel /safe. Is this possible?



· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@RvR000-0740

A workaround could be if I could configure Excel to always start as: Excel /safe. Is this possible?


It's possibale to always run Excel in safe mode via modifying a shortcut of Excel. For more, please refer to the step related to shortcut in "How to Open Word, Excel, or PowerPoint in Safe Mode".
(Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.)

But on your previous post, you said "In safe mode excel doesn't start. ".
Excel safe mode is useful to troubleshoot add-in, startup items that may be causing a problem on startup. If Excel could not run somoothly in safe mode, and all steps above do not work, I would suggest you use a new account as a workaround.

Thanks for your understanding.



0 Votes 0 ·
RvR000-0740 avatar image
0 Votes"
RvR000-0740 answered

In windows save mode Excel won't start. I think it needs a service that doesn't start automatically.

In Excel save mode (Excel /safe; windows normal mode) it will start and the problem is gone. Making al link isn't the solution for me be course I normally start Excel by kicking on a file.

When I open Excel (in normal mode) there are no add-ins active.


I will try to create a new account with all rights and a linked MsAccount and than delete the old account. Hopefully no side-affects will occur by deleting the original administrator account.



5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.