ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   finding the file path (https://www.excelbanter.com/excel-programming/433152-finding-file-path.html)

dstiefe

finding the file path
 
I want to open a file that is located on another harddrive and hence folder

how would I do that?

OssieMac

finding the file path
 
Will the file path always be the same folder or do you mean that you have to
search for a particular file in an unknown folder on a drive?

If always in the same path then just record the macro to open the file. The
code should be something like this.

Workbooks.Open Filename:="K:\MyPath\My File To Open.xls"

--
Regards,

OssieMac


"dstiefe" wrote:

I want to open a file that is located on another harddrive and hence folder

how would I do that?



All times are GMT +1. The time now is 03:04 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com