I found some code that allows our office to send files to SharePoint (see below). For the most part it works just fine. However if an error occurs with Sharepoint, like the wrong password was supplied, we get no indication and the macro continues to run. It's not until we actually go to Sharepoint and look through the folders do we find that nothing was ever uploaded.
Is there any way to either reverse this code so it can read the files back from Sharepoint after completion OR incorporate some type of error response from Sharepoint as each file is sent?
The code used to send files up is as follows (and it works):
Bookmarks