How to allow Open in Excel but not Edit in Excel

How to allow Open in Excel but not Edit in Excel

Is it possible to prohibit user from using Edit in Excel?



1. With the Open in Excel action, you can make changes to the records in Excel, but you can’t publish the changes back to Business Central. You can only save the changes to Excel file, without affecting data in Business Central.

2. The Edit in Excel action is available on most lists, but not all. With the Edit in Excel action, you make changes to records in Excel and then publish the changes back to Business Central. When Excel opens, you’ll see the Excel Add-in pane on the right.

If the following is implemented it applies to all pages for any user assigned that specific Permission Set.

In general, users assigned to the EXCEL EXPORT ACTION permission set can use the Open in Excel and Edit in Excel features.


The following two permission sets are included.
EDIT IN EXCEL – VIEW: Edit in Excel – View (Key permission)
EXPORT REPORT EXCEL: Export Report Dataset to Excel

Without this permission set, the user would not be able to see these two actions. They would simply not be shown to the user in any page.

So what permissions are there that are only relevant to Edit in Excel? How can we exclude Edit in Excel option for the user?

Create new Permission Set and insert a line with the type Exclude:


When the user choose Edit in Excel, the following error will be prompted like this:



If you only want to disable Edit in Excel" on a specific page a modification must be done.

Using OnEditInExcelWithFilters event in codeunit 1481 “Edit in Excel”







    • Related Articles

    • Set up email

      Note Azure Active Directory is now Microsoft Entra ID. Learn more People in businesses send information and documents, such as sales and purchase orders and invoices, by email every day. Administrators can connect one or more email accounts to ...
    • Set up a sequence of workflow users

      Before you can create approval workflows, you must set up the users who can submit requests and their approvers. For example, you can specify who receives a notification to act on a workflow step. You set up approval workflow participants on the ...
    • How to Track User Login Time in Microsoft Dynamics 365 Business Central

      How to Track User Login Time in Microsoft Dynamics 365 Business Central As businesses strive to enhance productivity and ensure the security of their data, tracking user login times becomes a critical aspect of their operational oversight. Microsoft ...
    • Specify when and how to receive workflow notifications

      In workflows that require that someone approves changes, you must set up the approval users who approve or reject changes. For example, you might want someone to approve new records. An important part of the approval user setup is to specify how and ...
    • Walkthrough: Set up and use a purchase approval workflow

      You can automate the process of approving new or changed records, such as documents, journal lines, and customer cards, by creating workflows with steps for the approvals in question. Before you create approval workflows, you must set up an approver ...