RJSIGKITS
Board Regular
- Joined
- Apr 15, 2013
- Messages
- 109
Hi Guys.
So, I have a new user for the main PC (Logging in with own PC login details), and the Doc that I need all users on the PC to be able to use has the below lines of code that is currently causing a 'Run Time Error 76 - Path not found' error message for debugging. However, I have compared the FilePath etc, and nothing is different from the ... Why will this cause an error for the new user, but not for the main user?
The filepath on the new users login is:
'D:\Data\Docs\Tonido\1. *******s\2 CLIENTS'
I can't understand why this would run an error?
So, I have a new user for the main PC (Logging in with own PC login details), and the Doc that I need all users on the PC to be able to use has the below lines of code that is currently causing a 'Run Time Error 76 - Path not found' error message for debugging. However, I have compared the FilePath etc, and nothing is different from the ... Why will this cause an error for the new user, but not for the main user?
Code:
Private Sub BtnSave_Click()Dim Path As String
Dim FileName1 As String
Path = "D:\Data\Docs\Tonido\1. *******s\2 CLIENTS"
FileName1 = Range("I2")
If Dir(Path & "\" & FileName1, vbDirectory) = "" Then
MkDir (Path & "\" & FileName1)
'D:\Data\Docs\Tonido\1. *******s\2 CLIENTS'
I can't understand why this would run an error?