This section code works to save a PDF to a file on our shared drive but not to the SharePoint site. I have access to the site and have loaded excel files using code.
Thanks,
Code:
ActiveSheet.ExportAsFixedFormat Type:=xlTypePDF, Filename:="http://Our sharepoint site.com/Shared Documents/" & name1 & " " & name2 & " " & name3 & " " & Format(Date, "MMDDYY") _
, Quality:=xlQualityStandard, IncludeDocProperties:=True, IgnorePrintAreas _
:=False, OpenAfterPublish:=True