I want to search and open an excel file named remote.xls I want to store that excel file into a variable, so i can use it further But the problem is that I dont know the exact path because for every user, the location is different. But I know for certain that it is in C:\ drive. How can I find it using VBA?
I know 2 methods :
1) using dir
2) using application.FileSearch
But the 2nd one is closed now. I am left with the first one..but I am not sure..how to use it there are several other threads. I have tried those method but have not been successful.
Why different? I want to search with the exact file name and not using wildcards