I need code to launch windows Explorer and go to a specific folder.
Code: Job = Me.[Job Number]
ChDrive "G"
ChDir "\Metrology\Jobs\"
stAppName = "explorer.exe"
Call Shell(stAppName, 1)
This code works only for opening Explorer, I need it to navigate to the 'Job' folder. Adding an arguement after stAppName returns 'file not found'
Code: Job = Me.[Job Number]
ChDrive "G"
ChDir "\Metrology\Jobs\"
stAppName = "explorer.exe"
Call Shell(stAppName, 1)
This code works only for opening Explorer, I need it to navigate to the 'Job' folder. Adding an arguement after stAppName returns 'file not found'