securing excel file cells in ReportBuilder

asked 2021-04-12T08:16:17.473+00:00
Paul Kalsbeek 1 Reputation point

Is it possible to create excel documents where certain cells are secured in ReportBuilder.
The file has to be already secured when it is created because it will be used by users.

If this is is not possible in ReportBuilder, is there a work around where this can be achieved automatically when the excel file is created?

SQL Server Reporting Services
SQL Server Reporting Services
A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
2,095 questions
No comments
{count} votes

2 answers

Sort by: Most helpful
  1. answered 2021-04-12T09:03:20.407+00:00
    Olaf Helper 25,551 Reputation points

    SSRS don't support such Excel settings, it's just a plain data export with cell formatting, but without any security properties.

  2. answered 2021-04-13T05:38:57.057+00:00
    ZoeHui-MSFT 18,671 Reputation points Microsoft Employee

    Hi @Paul Kalsbeek ,

    As Olaf said that SSRS don't support such Excel settings, so we couldn't lock the cells when exporting to excel.

    You may refer this for help which is using VBA code to protect the cells.

    Hope it could bring you some idea.


    If the 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.

    What can I do if my transaction log is full?--- Hot issues November

    How to convert Profiler trace into a SQL Server table -- Hot issues November