Quote:
Originally Posted by Parsons Grinder
Hi guys, hoping someone can help me here!
I'm looking for a way to ensure when I click on a link in a spreadsheet, when it takes me to the target cell it automatically smaps to the top left hand side of the screen.
I have seen solutions such as:
Private Sub Worksheet_FollowHyperlink(ByVal Target As Hyperlink)
ActiveWindow.ScrollColumn = ActiveCell.Column
ActiveWindow.ScrollRow = ActiveCell.Row
End Sub
But unfortunately I don't really know what this means. I assume it is to do with VBA.
Not all of my target cells are A1 either, although they are all in column A.
If anyone can help me it will be greatly appreciated!
Press Alt+F11 to open the VBA window.
Double click on the sheet containing your hyperlink(s) under Microsoft Excel Objects (top left).
In the main panel paste the code you found.
Close the VBA window.
Last edited by sumey; 02-07-2021 at 05:24 PM.