Skip to content

Commit 8d54ed3

Browse files
authored
Merge pull request #8825 from MicrosoftDocs/move-troubleshoot-excel-errors
AB#5630: Move desktop flow article into different folder and TOC and update SAP
2 parents fefb9ff + 2f3db55 commit 8d54ed3

File tree

3 files changed

+13
-9
lines changed

3 files changed

+13
-9
lines changed

.openpublishing.redirection.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13683,6 +13683,10 @@
1368313683
{
1368413684
"source_path": "support/windows-server/active-directory/dcs-cannot-be-located-high-rate-outbound-sessions.md",
1368513685
"redirect_url": "/troubleshoot/windows-server/user-profiles-and-logon/dcs-cannot-be-located-high-rate-outbound-sessions"
13686-
}
13686+
},
13687+
{
13688+
"source_path": "support/power-platform/power-automate/desktop-flows/troubleshoot-excel-errors.md",
13689+
"redirect_url": "/troubleshoot/power-platform/power-automate/desktop-flows/office-automation/excel/troubleshoot-excel-errors"
13690+
}
1368713691
]
1368813692
}

support/power-platform/power-automate/desktop-flows/troubleshoot-excel-errors.md renamed to support/power-platform/power-automate/desktop-flows/office-automation/excel/troubleshoot-excel-errors.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Provides mitigation steps for errors generated by Excel actions in
44
ms.author: iomavrid
55
author: yiannismavridis
66
ms.date: 05/08/2023
7-
ms.custom: sap:Desktop flows\Power Automate for desktop errors
7+
ms.custom: sap:Desktop flows\Office automation
88
---
99
# Errors when running desktop flows, including Excel actions
1010

@@ -17,11 +17,11 @@ This article provides mitigation steps for errors generated by Excel actions in
1717
|System.ArgumentNullException: Value cannot be null.</br>Parameter name: type|When Excel fails to open with this error, make sure that Excel is installed, licensed, and properly configured on the computer. You can also try to repair your Office installation.|
1818
|System.IO.FileNotFoundException: documentPathSafe|The Excel file doesn't exist, or its name or path isn't spelled correctly. Also, the file path shouldn't contain more than 255 characters.|
1919
|System.Runtime.InteropServices.COMException: Open method of Workbooks class failed|The Excel file path shouldn't contain more than 255 characters.|
20-
|System.Runtime.InteropServices.COMException: The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)|When an Excel file fails to open with this error, try to enable the **Nest under a New Excel process** option under the **Advanced** group of parameters. The existing Excel process might have been terminated before opening this Excel file.|
21-
|Microsoft.Flow.RPA.Desktop.Modules.SDK.ActionException: Excel document '<Excel_file_name>' not found.|Make sure that the Excel file has been opened and its name or path has been spelled correctly.|
22-
|System.Runtime.InteropServices.COMException: Unknown name. (Exception from HRESULT: 0x80020006 (DISP_E_UNKNOWNNAME))|Make sure that the target Excel file hasn't been opened in Protected View.|
20+
|System.Runtime.InteropServices.COMException: The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)|When an Excel file fails to open with this error, try to enable the **Nest under a New Excel process** option under the **Advanced** group of parameters. The existing Excel process might be terminated before opening this Excel file.|
21+
|Microsoft.Flow.RPA.Desktop.Modules.SDK.ActionException: Excel document '<Excel_file_name>' not found.|Make sure that the Excel file is opened and its name or path is spelled correctly.|
22+
|System.Runtime.InteropServices.COMException: Unknown name. (Exception from HRESULT: 0x80020006 (DISP_E_UNKNOWNNAME))|Make sure that the target Excel file is opened in Protected View.|
2323
|System.Runtime.InteropServices.COMException: Call was rejected by callee. (Exception from HRESULT: 0x80010001 (RPC_E_CALL_REJECTED))|The target Excel file shouldn't be edited (for example, a cell is actively being edited at the time of the action run) or blocked by a pop-up dialog when the corresponding Excel action runs.|
24-
|System.Runtime.InteropServices.COMException: Exception from HRESULT: 0x800A03EC|When using an Excel action where a column, a row, or both need to be specified, the column index should be greater than zero and less than 16,385, or the column letter should belong to the range between A and XFD. Furthermore, the row index should be greater than zero and less than 1,048,577.|
24+
|System.Runtime.InteropServices.COMException: Exception from HRESULT: 0x800A03EC|When you use an Excel action where a column, a row, or both need to be specified, the column index should be greater than zero and less than 16,385, or the column letter should belong to the range between A and XFD. Furthermore, the row index should be greater than zero and less than 1,048,577.|
2525
|System.Runtime.InteropServices.COMException: The object invoked has disconnected from its clients. (Exception from HRESULT: 0x80010108 (RPC_E_DISCONNECTED))|The Excel instance should be open and active, so the Excel file shouldn't be closed manually or through the "Close Excel" action before the rest of the Excel actions take place.|
2626

2727
The following exceptions come with embedded mitigation steps in their text.
@@ -30,6 +30,6 @@ The following exceptions come with embedded mitigation steps in their text.
3030
|---|
3131
|System.Runtime.InteropServices.COMException: The cell or chart you're trying to change is on a protected sheet. To make a change, unprotect the sheet. You might be requested to enter a password.|
3232
|System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.</br>Parameter name: The column number must be greater than one or less than 16384.|
33-
|System.Runtime.InteropServices.COMException: The file name is too long. Rename the file with less than 207 characters.|
33+
|System.Runtime.InteropServices.COMException: The file name is too long. Rename the file with fewer than 207 characters.|
3434
|System.Runtime.InteropServices.COMException: The password you supplied isn't correct. Verify that the <kbd>Caps Lock</kbd> key is off and be sure to use the correct capitalization.|
3535
|System.Runtime.InteropServices.COMException: Excel cannot open the file '<Excel_file_name>' because the file format or file extension is not valid. Verify that the file hasn't been corrupted and that the file extension matches the format of the file.|

support/power-platform/power-automate/toc.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@
7474
items:
7575
- name: Excel
7676
items:
77+
- name: Errors when running desktop flows including Excel actions
78+
href: desktop-flows/office-automation/excel/troubleshoot-excel-errors.md
7779
- name: Launch Excel action errors
7880
href: desktop-flows/office-automation/excel/launch-excel-action-failures.md
7981
- name: Outlook
@@ -164,8 +166,6 @@
164166
href: desktop-flows/error-communicating-with-the-emulator.md
165167
- name: Expression couldn't be evaluated error when using direct encrypted text
166168
href: desktop-flows/error-expression-could-not-be-evaluated.md
167-
- name: Errors when running desktop flows including Excel actions
168-
href: desktop-flows/troubleshoot-excel-errors.md
169169
- name: Errors when running attended or unattended desktop flows
170170
href: desktop-flows/troubleshoot-errors-running-attended-or-unattended-desktop-flows.md
171171
- name: '"Failed to run PowerShell script" error'

0 commit comments

Comments
 (0)