Hyperlink to an already opened workbook

dbmccallum

New Member
Joined
Nov 7, 2017
Messages
6
I have a master workbook which opens several child workbooks (1 to 99 workbooks). I have macros to open and close all the child workbooks. Each child workbook is a business case for a project and the master workbook summarizes and combines all the projects.

I modify the child workbooks and the master summaries the results. I am looking for an easy way to navigate from the master to a problem child:), the one that looks out of whack and needs modification. So I had created a hyperlink on the list of childs so I can quickly navigate to that workbook. Prior to Excel 2016, my hyperlinks worked. Now, Excel wants to reopen the child, which causes me to lose data, and it doesn't even go the workbook. I just want the hyperlink to navigate to the already open spreadsheet.

Any ideas?

Code I am using:
Do While stoprow >= indexz
Target_Workbook = xlscope.Sheets("Project Input").Range("A" & indexz).Value
Target_Name = xlscope.Sheets("Project Input").Range("D" & indexz).Value
Selection.Hyperlinks.Add Anchor:=Selection, Address:=Target_Workbook, _ SubAddress:="Command!A1", ScreenTip:="goto " & Target_Name
indexz = indexz + 1
Loop
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.

Forum statistics

Threads
1,223,908
Messages
6,175,305
Members
452,633
Latest member
DougMo

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