![]() |
Prompt user for file to be opened
Greetings all,
I am trying to code a macro through VB to open up a specific folder, then allow the user to specify which file to open. The folder structure is as follows: S:\accounting\FINRPTG\MON-END\Interest Exp From here, there are folders by year that contain the actuals files. What I would like is for the macro to open up the folder "Interest Expense" and let the user navigate to and open the specific year folder, and then open the necessary file, which I will call Interest Exp Template, for this example. I can get the code to browse to the Interest Exp folder, but from here, I cannot allow the user to open another folder to get to the actual file. Any ideas? Thanks, Brent |
Prompt user for file to be opened
Hi Brent
See if this get you somewhe http://www.contextures.com/xlfaqMac.html#SelectFile HTH. Best wishes Harald "brentm" wrote in message ... Greetings all, I am trying to code a macro through VB to open up a specific folder, then allow the user to specify which file to open. The folder structure is as follows: S:\accounting\FINRPTG\MON-END\Interest Exp From here, there are folders by year that contain the actuals files. What I would like is for the macro to open up the folder "Interest Expense" and let the user navigate to and open the specific year folder, and then open the necessary file, which I will call Interest Exp Template, for this example. I can get the code to browse to the Interest Exp folder, but from here, I cannot allow the user to open another folder to get to the actual file. Any ideas? Thanks, Brent |
All times are GMT +1. The time now is 07:24 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com