ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Application.Path (Getting the directory that my workbook is in) (https://www.excelbanter.com/excel-programming/299406-application-path-getting-directory-my-workbook.html)

Richard1284[_8_]

Application.Path (Getting the directory that my workbook is in)
 
Hi all,

Just a quick quesion, upon using Application.Path I am getting th
windows directory that MS excel is stored in. Is this what I should b
getting? If so then how do I get the path of the directory that m
workbook is in??

--
Message posted from http://www.ExcelForum.com


Jan Karel Pieterse

Application.Path (Getting the directory that my workbook is in)
 
Hi Richard1284,

If so then how do I get the path of the directory that my
workbook is in???


Workbooks("YourBooksName").Path

Or

ActiveWorkbook.Path

Regards,

Jan Karel Pieterse
Excel MVP
www.jkp-ads.com



All times are GMT +1. The time now is 01:29 AM.

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