I use

Shell("explorer Path")

Path is Directory
But it Open My Document
Path is D:/
I think It because The syntax "explorer Path" i try a lot like shell("explorer" path),
shell(explorer path) , shell(""explorer" path") but it always open My Document

Recommended Answers

All 2 Replies

Dim path="c:\folderName"
 Shell("c:\windows\explorer.exe" & " " & path)
commented: Thx adatapost u help me a lot +1

Thanks adatapost it work
I use

Shell("explorer " & Path)

It Smaller and works

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.