root file path

  • Thread starter Thread starter ashishprem
  • Start date Start date
A

ashishprem

Hi,
I want to create a directory using the macro. I got the code to create
a directory. But i want to place the directory in the same path where
the file conatining macro is there.
Suppose the excel file path is in C:\Project\test.xls then the file
should also be placed in the path C:\Project.

Regards,
Ashish
 
Use

ThisWorkbook.Path

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top