Hi Guys
I've touched on this topice previouly however to no avail, but I really need some help on this.
In the DB the user can click a button which opens up a word doc which is stored in a folder along with the DB. The DB is stored on a shared drive (Network) and will be used in different locations.
So I have tried the below code so that the button works on any PC and any Network but its not working, Please please help. :banghead: :banghead:
I've touched on this topice previouly however to no avail, but I really need some help on this.
In the DB the user can click a button which opens up a word doc which is stored in a folder along with the DB. The DB is stored on a shared drive (Network) and will be used in different locations.
So I have tried the below code so that the button works on any PC and any Network but its not working, Please please help. :banghead: :banghead:
Dim sUsername As String
Dim filesPath As String
sUsername = Environ$("username")
filesPath = Environ$("USERPROFILE") & "\\" & "\\USER32\Users\Public\AdminFolder\Template.docx"