ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Default folder for VBA modules (https://www.excelbanter.com/excel-programming/377729-default-folder-vba-modules.html)

Albert

Default folder for VBA modules
 
Hi.
Is there a way of changing the default folder that VBA uses when I try to
import/export vba modules or userforms?
Thanks and regards,
Albert C

NickHK

Default folder for VBA modules
 
Albert,
You can read/set this with :
CurDir
ChDrive
ChDir

NickHK

"Albert" wrote in message
...
Hi.
Is there a way of changing the default folder that VBA uses when I try to
import/export vba modules or userforms?
Thanks and regards,
Albert C





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

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