Make shape hyperlink to sheet based on cell value

craigg3

Board Regular
Joined
Dec 23, 2002
Messages
163
Office Version
  1. 365
Platform
  1. Windows
Im able to put a link in a cell, such as =HYPERLINK("#'"&X3&"'!A1","GO"), where X3 contains a sheet name and the sheet name will change often. This works fine if link is placed directly in a cell, but I can not get it to work if trying to hyperlink using a shape. Any suggestions on how to make it work for by clicking a shape instead of a cell? Would prefer it to work without using VBA.
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
I cannot imagine it's possible without code given that a formula bar has no awareness of a shape click event. Happy to be proved wrong though. Code is as simple as

Sub IsoscelesTriangle3_Click()
ThisWorkbook.FollowHyperlink "https:\google.ca"

End Sub
 
Upvote 0
Thanks Micron, it may not be possible without code, I couldn't figure it out anyway.
Was just trying to keep the spreadsheet simple (macro free) for users so they wouldn't have to go through the process of enabling macros/unblocking...
 
Upvote 0
I asked if a shape could have a formula or hyperlink. Couple of examples:


or maybe get creative with textbox embedded in shape but formatted to not look like a tb.
 
Upvote 0

Forum statistics

Threads
1,224,813
Messages
6,181,118
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