Format Excel Hyperlink Destination

I have an Excel 2010 workbook with lots of hyperlinks

Each hyperlink when clicked goes to another cell in another sheet within the same workbook.

I need the destination of any clicked hyperlink to be filled in a colour and the text boldened so it stands out but when another hyperlink is clicked, the first goes back to normal

Hope this makes sense
LVL 17
SteveIT ManagerAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

mark_harris231Commented:
Any other cell formatting that would need to be preserved other than the clicked hyperlink?  Do the hyperlinks appear in a particular range?
0
SteveIT ManagerAuthor Commented:
Hi

No other cell formatting present just text size 8

Hyperlinks will appear in various places in range A1 to G100
0
Rob HensonFinance AnalystCommented:
You can set Conditional formatting to be on the activecell using the row & col function within the CF formula.

=CELL("row")  will return the row of the active cell

=CELL("row",a1) will always return 1 (row 1)

=CELL("col") will return column of active cell

=CELL("col",a1) will return 1 (column 1)

So the following CF on A1 will highlight A1

=AND(CELL("row",a1)=CELL("row"),CELL("col",a1)=CELL("col"))

If you select the required range and select Conditional formatting. Enter that as a formula rule, changing the A1 reference to the top left of the selected area and choose the formatting required will highlight the active call with the formatting.

Thanks
Rob H
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Become a Microsoft Certified Solutions Expert

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

Rob HensonFinance AnalystCommented:
However, the CF won't change unless there is a calculation event. You can force the calculation on the Sheet Activate event of each sheet or on the hyperlink select on the source sheet.

Thanks
Rob H
0
SteveIT ManagerAuthor Commented:
Thanks

@robhenson - how would i combine the =AND(CELL("row",a1)=CELL("row"),CELL("col",a1)=CELL("col"))
 you have provided with the existing hyperlink to achieve the end result ?

0
SteveIT ManagerAuthor Commented:
Awesome thanks
0
mark_harris231Commented:
Nicely done, Rob.  Hadn't considered the use of conditional formatting for this one.
0
Rob HensonFinance AnalystCommented:
There would be no need to cobine with the hyperlink as this would be conditional formatting on the destination cells. When the hyperlink destination cell is selected it will be the active cell so the formatting will be activated, depending on the calculation being triggered as mentioned.

Thanks
Rob H
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual C++.NET

From novice to tech pro — start learning today.