I have found a way to use VBA to change certain parts of hyperlinks using the following code:
However, this will only work if I try to change anything within this section of the string: "Documents\Maps\AtlantaGeorgia\Georgia\DR". And I am needing to change the username "mackdad123" to "harrysmith."
I think I've found out the reason for this is because in excel, when you click on 'edit hyperlink,' it does not show the entire address in the edit bar, it only shows "..\Documents\Maps\AtlantaGeorgia\Georgia\DRF". So this code cannot change anything that exists before "documents".
I attempted to run this code as a test, and it changed "..\Documents" to "Desktop\???Documents"
My question is how can I either show the entire address in the edit hyperlink bar, or is there another way I can change the user name of this address? Thanks
Bookmarks