Problem Opening SharePoint Folder in WINDOWS Explorer

JMH022

Active Member
Joined
Mar 7, 2002
Messages
320
I am having a problem opening a SharePoint folder (not a specific file in the folder) using VBA.

I have searched Mr. Excel extensively and have found MANY suggestions to try using...

FolderPath = "http://nexus/sites/.../MySharePointFolder"
Shell "explorer.exe " & FolderPath, vbNormalFocus

...but this is opening my SharePoint folder in Internet Explorer...not WINDOWS Explorer.

I want to view the contents of my SharePoint page in the same way as if I went into LIBRARY in SharePoint and clicked on the [Open in Explorer] button from the Ribbon.

Am I missing something that will force the folder to open in WINDOWS Explorer?

I appreciate the help!
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
Jim, Perhaps I can be of assistance if you haven't fixed the issue yet.

change the FolderPath to be a similar to the C:\ view as you want the server view/file explorer.

Code:
[COLOR=#333333]FolderPath = [B]"\\nexus\site\...\MySharePointFolder"[/B][/COLOR]

Please note if you have the right access you can get the exact link from the SharePoint site by clicking the Library tab then "Open with Explorer" from the Document Library on SharePoint.

hope this helps!
 
Upvote 0
you must remove "http:" from the file path... it should work in windows explorer.
 
Upvote 0
Make sure you have synced your sharepoint folder to your explorer first
 
Upvote 0

Forum statistics

Threads
1,214,646
Messages
6,120,717
Members
448,985
Latest member
chocbudda

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top