Hi,
We have macros saved in a shared excel document. The majority of these macros open other docs saved in the network drive however currently the macros can only be used on my machine because of the path name i'm using. For example:
So obviously, this works on my computer, but won't work when my colleague Dele Alli wants to work on the file.
Do you know how I can change the "Harry Kane" to refer to whatever the username is on the current computer?
Thanks!
We have macros saved in a shared excel document. The majority of these macros open other docs saved in the network drive however currently the macros can only be used on my machine because of the path name i'm using. For example:
Code:
("C:\Users\HarryKane\Folders\Itscominghome.xlsx")
So obviously, this works on my computer, but won't work when my colleague Dele Alli wants to work on the file.
Do you know how I can change the "Harry Kane" to refer to whatever the username is on the current computer?
Thanks!