VBA Dir on SharePoint -why working only with Internet Explorer?

Hamvis 21 Reputation points
2021-09-24T14:36:46.96+00:00

I wanted to map some folders on SharePoint and create new subfolders via VBA. The SharePointURLtoUNC function found here: https://stackoverflow.com/questions/1344910/get-the-content-of-a-sharepoint-folder-with-excel-vba was really useful but there was another prerequisite for making all kinds of Dir commands work: I had to log in under Internet Explorer into SharePoint. It didn't work when I was only logged in under Chrome or Microsoft Edge. Could you please explain why is it so and how to avoid Internet Explorer login?

Developer technologies | Visual Basic for Applications
0 comments No comments
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.