Created
March 30, 2015 23:42
-
-
Save joehanna/79b1842f4516570fd3cc to your computer and use it in GitHub Desktop.
VBA: Open Windows Explorer with a specific file selected
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Dim fileName as String | |
| fileName = "C:\Windows\notepad.exe" | |
| Shell "explorer.exe /e,/select," & fileName, vbNormalFocus |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In excel 2016+