Hi,
I have this hard wired code to open a folder called Comm. It works perfectly.
I have this full folder path recorded in cell A1. Just to make it a bit more flexible, I loaded this value to a string variable and execute the same script to open this same folder
Windows explorer opens up in an incorrect folder. Just wonder why. Hope someone would know the answer.
Thanks.
kp
I have this hard wired code to open a folder called Comm. It works perfectly.
Code:
Shell "explorer.exe ""C:\Users\Pas\Comm\", 1
I have this full folder path recorded in cell A1. Just to make it a bit more flexible, I loaded this value to a string variable and execute the same script to open this same folder
Code:
Fldr = Range("A1").value
Shell "explorer.exe " & Fldr, 1
Windows explorer opens up in an incorrect folder. Just wonder why. Hope someone would know the answer.
Thanks.
kp