![]() |
How to find out the residing directory of the opened workbook using VBA code ?
Hi ,
How do we find out the residing directory of the opened workbook using VBA code ? The command "curDir" doesn't seem to work here ... Thanks... -- Regards, Adrian |
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 * |
How to find out the residing directory of the opened workbook using VBA code ?
Sub test()
MsgBox ActiveWorkbook.FullName, , "Full path of the active workbook" End Sub RBS "Adrian" wrote in message ... Hi , How do we find out the residing directory of the opened workbook using VBA code ? The command "curDir" doesn't seem to work here ... Thanks... -- Regards, Adrian |
All times are GMT +1. The time now is 05:35 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com