I want to use a piece of VBA or a macro to follow a dynamic hyperlink and then carry out an action.
The dynamic hyperlink would look like this:
=hyperlink('#sheetname!B'&B2,"Link")
And the VBA or macro I'm trying is a simple;
Range("B2").Hyperlinks(1).Follow (True)
This doesn't work - it brings up a debug window. It will only work when the hyperlink is absolute (ie, I've right clicked the cell and setup the hyperlink that way) - this isn't sufficient for my requirements - is there anything I can do to make this VBA/macro work with a dynamic hyperlink formula?
Thanks in advance,
Sam
Bookmarks