Export to SharePoint

I am working on a macro that needs to upload a pdf directly to a SharePoint folder. It has to avoid the need to sync as it is part of a time sensitive flow. Is there a way to do this within the macro or any add-in?