Open Windows Explorer from Excel

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello

Is it possible to open Windows Explorer from Excel and show specfic folder path using VBA

Thanks in advance
James
 
Try this James

Sub test()
Shell "explorer.exe C:\Dell", vbNormalFocus
End Sub
 
Whoops, I guess you said Windows Explorer rather than Internet Explorer
although you could use Internet Explorer as well.
 
This one opens it with the folder pane on the left.

Sub test()
Shell "explorer.exe C:\Dell, /e"
End Sub

- Jon
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top