VBA code to open the default file manager (Windows Explorer) in your computer


 Sub OpenFileManager()

    Shell "explorer.exe", vbNormalFocus

End Sub

This code uses the Shell function to launch the default file manager application in Windows. You can call the OpenFileManager sub by clicking on a button or hotkey in your Excel workbook or another Office application

Post a Comment

0 Comments
* Please Don't Spam Here. All the Comments are Reviewed by Admin.