ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Set The Directory to the Current WB Path (https://www.excelbanter.com/excel-programming/292978-set-directory-current-wb-path.html)

Richy

Set The Directory to the Current WB Path
 
how can I set the path to be the same as the current
workbook path?

Thanks

Cesar Zapata[_3_]

Set The Directory to the Current WB Path
 


thisworkbook.path


Cesar Zapata




Richy wrote:

how can I set the path to be the same as the current
workbook path?

Thanks


Bob Phillips[_6_]

Set The Directory to the Current WB Path
 

ChDir ActiveWorkbook.Path
ChDrive ActiveWorkbook.Path

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"Richy" wrote in message
...
how can I set the path to be the same as the current
workbook path?

Thanks





All times are GMT +1. The time now is 05:24 PM.

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