stuartgb100
Active Member
- Joined
- May 10, 2015
- Messages
- 322
- Office Version
- 2021
- Platform
- Windows
Hi,
I've a list of hyperlinks in sheet "#Artists-Index" (in the code this is TargetSht).
The links are generated from sheet "#Artists' Name & Album Titles" (in the code this is SourceSht).
All the links return the same error.
In the code I have:
If I run the code using 1, it works.
If 2, it does not.
What I have found is this:
If I right click a working link and choose Edit Hyperlink, then I can see the correct cell reference.
However, all the 'not working' links show "A1".
Any ideas please ?
Thanks.
I've a list of hyperlinks in sheet "#Artists-Index" (in the code this is TargetSht).
The links are generated from sheet "#Artists' Name & Album Titles" (in the code this is SourceSht).
All the links return the same error.
In the code I have:
VBA Code:
Set SourceSht = Sheets("#Artists' Name & Album Titles") '2
'Set SourceSht = Sheets("#Master-Artists,Albums,Tracks") '1
Set TargetSht = Sheets("#Artists-Index")
If I run the code using 1, it works.
If 2, it does not.
What I have found is this:
If I right click a working link and choose Edit Hyperlink, then I can see the correct cell reference.
However, all the 'not working' links show "A1".
Any ideas please ?
Thanks.