Johnny Thunder
Well-known Member
- Joined
- Apr 9, 2010
- Messages
- 693
- Office Version
- 2016
- Platform
- MacOS
Hi guys, saw something weird today. I wrote code that goes into my network at work and grabs a file from a specified folder for our current month "03 - Mar" and does a copy paste to another report. The issue that I saw today is that if another user runs the file the macro is grabbing the file from a prior month "02 - Feb" even though the code shows the march folder path.
Now, this isn't a case where the code is set to a drive letter that my computer has saved and another user may have that drive letter mapped to a different drive, I actually have the full network path to the server so it will work for any user.
Weird thing is we have about 5 files exactly like this but only 1-2 do this on occasion for certain users but never for me? Anyone seen this before?
Now, this isn't a case where the code is set to a drive letter that my computer has saved and another user may have that drive letter mapped to a different drive, I actually have the full network path to the server so it will work for any user.
Weird thing is we have about 5 files exactly like this but only 1-2 do this on occasion for certain users but never for me? Anyone seen this before?