![]() |
Get a specific Program files folder
Hi!
I made a Deploy project in VS2003. The setup copy a xla and a xlt a specific Program files folder. After the copy, i want to execute a .vbs that will copy and register the xla and the xlt. My problem is to get my new program files folder. Is there a vbs code that i can execute to get it? Thanks, Thierry Paradis. |
Get a specific Program files folder
A simpler way you could try:-
If the path to your folderis not going to change, then vba code ChDir FolderPath - will set your folder as the current folder, where "FolderPath" is the full path name, including the last \. Then use Application.GetOpenFilename(...) to display and select the file you want to import. If your path is not fixed, but relative to your XL file location, then you will need to extract the current path from the XL formula Cell("filename",A1), and concatenate your file path with that. HTH "Thierry Paradis" wrote: Hi! I made a Deploy project in VS2003. The setup copy a xla and a xlt a specific Program files folder. After the copy, i want to execute a .vbs that will copy and register the xla and the xlt. My problem is to get my new program files folder. Is there a vbs code that i can execute to get it? Thanks, Thierry Paradis. |
All times are GMT +1. The time now is 03:07 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com