The above code can find out if a file exists and output the result in row C when I hard code the path intoPlease Login or Register to view this content.
LPath = "C:\Users\Admin\Desktop"
However, I want to let the user input the path in, say cell D1 so that there is no need for the user to modify the VBA code
I tried replacing with LPath = Range("D1").Value
But it does not work
What should I do to allow the user to input the path in cell D1 ?
Bookmarks