I'm very new to access and I'm trying to update a database that was created previously by someone else. The file path to a template that is being generated through access has been changed and I am attempting to update it.
I believe it is choosing the file based on this coding:
Set wdDoc = wdApp.Documents .Open(CurrentPr oject.Path & "\Templates \" & pGuideType & "_Template.lnk" , , True)
If I'm understanding correctly, the CurrentProject. Path is the first part of the location of the file and 'templates' is just a sub folder within this location. The rest of the string, from my understanding, will not change since the names of the files will remain the same.
How do I change the 'CurrentProject .Path' to match the new location on our network?
Your help is greatly appreciated!!
I believe it is choosing the file based on this coding:
Set wdDoc = wdApp.Documents .Open(CurrentPr oject.Path & "\Templates \" & pGuideType & "_Template.lnk" , , True)
If I'm understanding correctly, the CurrentProject. Path is the first part of the location of the file and 'templates' is just a sub folder within this location. The rest of the string, from my understanding, will not change since the names of the files will remain the same.
How do I change the 'CurrentProject .Path' to match the new location on our network?
Your help is greatly appreciated!!
Comment