Gurpreet Singh R. answered 05/26/25
Tutor
New to Wyzant
Boost your tech confidence With me
Step 1: Open your SSRS report in Report Builder or SQL Server Data Tools
Step 2: Select the textbox or cell in the report that you want to become a hyperlink (e.g., the cell showing "TEST")
Step 3: Right-click the textbox and select Textbox Properties
Step 4: Go to the Action tab on the left
Step 5: Select Go to bookmark (to link to a worksheet within the same Excel file)
- In the Bookmark field, type the cell reference you want to link to.
- For example:
CopyEdit
Sheet2!A4
Note: Make sure the worksheet name is exactly as in Excel (case sensitive and includes apostrophes if spaces, e.g. 'Sheet 2'!A4
).
Step 6: Click OK to close the Textbox Properties
Step 7: Export your report to Excel format
- Click Run or Preview your report.
- Choose Export > Excel.
Step 8: Open the exported Excel file
- The cell with the link text ("TEST") should appear as a clickable hyperlink immediately.
- No extra click needed to activate the link.
Optional: Add Named Bookmarks in your Excel sheets
- If "Go to bookmark" does not work as expected, you can add named ranges/bookmarks in your Excel file before exporting, then use those named bookmarks in Step 5.
If you still want to embed the Excel formula with =HYPERLINK(...) and make it work immediately, follow this post-processing step:
Post-process with VBA Macro to convert hyperlink formula text into real formulas
Step 1: Open the exported Excel file
Step 2: Press Alt + F11
to open the VBA editor
Step 3: Click Insert > Module
Step 4: Copy and paste this VBA code:
vba
CopyEdit
Sub ConvertTextToFormula()
Dim cell As Range
For Each cell In ActiveSheet.UsedRange
If Left(cell.Value, 11) = "=HYPERLINK(" Then
cell.Formula = cell.Value
End If
Next cell
End Sub
Step 5: Close the VBA editor and return to Excel
Step 6: Press Alt + F8
, select ConvertTextToFormula
, and click Run
- This macro converts all the text cells that look like hyperlink formulas into actual Excel formulas.