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

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple

Forum statistics

Threads
1,215,459
Messages
6,124,948
Members
449,198
Latest member
MhammadishaqKhan

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