hyperlinking to a cell in another workbook

Ludwig

Board Regular
Joined
Apr 7, 2003
Messages
89
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: 4
Last edited:

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.

Forum statistics

Threads
1,215,073
Messages
6,122,975
Members
449,095
Latest member
Mr Hughes

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