View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Rob Bovey Rob Bovey is offline
external usenet poster
 
Posts: 811
Default How to find out the residing directory of the opened workbook using VBA code ?

"Adrian" wrote in message
...
How do we find out the residing directory of the opened workbook using
VBA code ? The command "curDir" doesn't seem to work here ...


Hi Adrian,

I think ThisWorkbook.Path is what you're looking for.

--
Rob Bovey, MCSE, MCSD, Excel MVP
Application Professionals
http://www.appspro.com/

* Please post all replies to this newsgroup *
* I delete all unsolicited e-mail responses *