Home > SSRS > Disable link after exporting SSRS Report into excel

Disable link after exporting SSRS Report into excel

I got this question from MSDN, Source of question is here

User Comment:-

I have a report with multiple link which one redirect to other reports. After exporting link is showing and able to open other reports from excel. I want disable link after exporting into excel. How can disable link after exporting in excel ?

Create sample report which has report links as shown below:-


Export this into excel you will find the links in the excel as shown below:-


We will disable the link when we export into Excel, to verify we will export into Word also where we want link.

Export to Excel: No Link

Export to Word: Link shown.

As we know in Textbox-Action we can write expression.

So we will create two columns with same header,:-

First column we will implement action which will point to the report

Second column will don’t have any action.


Let’s set the visibility of both columns,

Expression would be like, if it exports into excel then disable the action column (First Column) and enable second column.

Action column visibility condition:-

=IIF(Globals!RenderFormat.Name=”EXCELOPENXML” ,True,False)

No Action Column Visibility condition:-

=IIF(Globals!RenderFormat.Name=”EXCELOPENXML” ,False,True)


Note: Check the Globals!RenderFormat.Name value when exporting into excel as I did in above screen.

Sometimes it may be just “EXCEL”

Run the report and export to EXCEL, you will find no link in the column


Now export into word, you will find links in the exported word report.



Learn Different BI Tools
Subscribe my YouTube Channel : BI Tools

Categories: SSRS Tags:
  1. Ramakant
    May 25, 2015 at 8:38 pm

    My question related to issue #2,

    We are able to remove hyperlinks using below report action when exporting to Excel.
    =IIF(Globals!RenderFormat.Name = “RPL”, “Sub_Report_Name”, IIF(Globals!RenderFormat.Name = “EXCEL”, true,false))

    This is working fine in SSRS report and after exporting into excel.
    When we deploy SSRS report into sharePoint environment then excel export link was disable but subreport is not opening.

    Ramakant Singh

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: