You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'This sub loops through the files in a specified sharepoint folder.
'The folder address must be in the format specified otherwise VBA doesn't really like that.
Sub SharePointLoopThroughFilesInFolder()
Dim sSPPath As String
Dim objFSO As Object
Dim objFolder As Object
Dim objFile As Object
'point to sharepoint folder that contains the files
'sharepoint path needs to be converted from "https://sharepoint drive/folder/another folder/another folder" to "//sharepoint drive/folder/another folder/another folder"