hyperlinking to a cell in another workbook

Ludwig

Board Regular
Joined
Apr 7, 2003
Messages
97
Office Version
  1. 365
Platform
  1. Windows
I have coded this hyperlink formula into a workbook cell.

Excel Formula:
=HYPERLINK( "[C:\Users\User\Documents\Utilities\Calcs.xlsx]'Detailed costs by month'!B5", "click to open more details" )

It works, with the XLSX being opened with the cell on the stated worksheet being selected.
I tested that by saving it with a different cell in that sheet & a different sheet being the active one, then reopening it to verify it wasn't focused on the sheet & cell in the hyperlink before testing the HYPERLINK as coded.

Problem I have is that if the workbook quoted in the hyperlink is already open I get the error message "Cannot open the specified file" and I have to manually Alt-Tab to go to the workbook.
Not exactly arduous, but surely it doesn't need to complain?!?

What change/s to an option / setting, or the formula do I need to make to have Excel go to that workbook/sheet & cell even if it is open?
 

Attachments

  • 43ec51b0-1729-4a5b-a4cf-0fc78ebfeec7.png
    43ec51b0-1729-4a5b-a4cf-0fc78ebfeec7.png
    5.1 KB · Views: 20
Last edited:

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number

Forum statistics

Threads
1,224,823
Messages
6,181,177
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top