I would like Column AF populated with hyperlinks to themselves up to the last row containing data in column A.
I will then use this link to run the macro that i need and use Target.Cell.Row to get information from this row within the macro.
I have tried to use the code in this answer https://stackoverflow.com/a/33114213/6893569 but i keep getting the error every time i try to run my macro from with this function or call another macro from within it. I have later found that functions cannot call other macros and can only return values.
Any other ideas? I have been looking for over an hour now and trying a different combination of things, including right clicking on the cell, creating hyperlink and using
Private Sub Worksheet_FollowHyperlink(ByVal Target As Hyperlink)
to launch the macro and Target.Range.Row
to get the row number of clicked cell. Then only problem is that i need the hyperlinks (Over 60,000 rows worth) to be auto populated and linked to them selves, it would be ridulcous to do this manually and cant see a way to do this automaticaly unless it was pasting the formula hyperlink in but this cant be used to run the macro for some reason.