Hope this will be a quick fix for someone.
I am able to shell to explorer.exe, but i need it to open a specific directory.
ie on button click, open explorer.exe and open the folder of the current project.(ActiveWorkbook.path)
Just pass the path as parameter:
Shell "explorer " & ActiveWorkbook.Path
The code above shows the explorer with the folder view. If you want to see the 'real' explorer view (with the tree), use the '/e' parameter:
Shell "explorer /e, " & ActiveWorkbook.Path
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.