Forum Discussion
Sameer_Kuppanath_Sultan
Oct 05, 2019Brass Contributor
How to insert a hyper ink to select multiple ranges in a shape (No VBA)
How to select multiple ranges by using hyper link in a shape in excel?
for eg:
I have to select range(a1:c5) and range(x1:ab5) by one click on the shape.
4 Replies
Sort By
- tauqeeracmaIron Contributor
Using excel named range you can create a hyperlink that will select desired range in one click. This solution does not require VBA codes.
Just define your desired range in Name Manager and simply call this Name in Hyperlink.
A sample file is attached for your reference. Please let me know if it works for you.
Thanks
Tauqeer
- Sameer_Kuppanath_SultanBrass Contributor
Ttauqeeracma This is what I looked for. Thanks a lot
- tauqeeracmaIron Contributor
Sameer_Kuppanath_Sultan You are welcome.
- Subodh_Tiwari_sktneerSilver Contributor
You can simply try the following code...
Sub SelectRanges() Range("A1:C5,X1:AB5").Select End Sub
And then assign this code to any shape of your choice.
Please refer to the attached for more details.