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

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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