2016-10-24 67 views
0

我在VBA中擁有此功能。我在Windows 10系統中運行Office 2016 32位。我試圖連接到SharePoint列表更新它,但我不能登錄。這是Office 365的無法從VBA連接到網站

Dim sCnx As String 
sCnx = "Provider=Microsoft.ACE.OLEDB.12.0;WSS;IMEX=0;RetrieveIDs=Yes;" 
sCnx = sCnx & "DATABASE=https://bigCompany.com/sites/ISforAandP;" 
sCnx = sCnx & "List={81D55769-42A0-4194-9561-ECBEC12A50D1};" 

Dim cnx As ADODB.Connection 
Set cnx = New ADODB.Connection 
cnx.Open sCnx 

我收到的錯誤是「無效的參數」。

我已經徹底搜索並且未能成功獲取此幫助。請幫忙。

感謝,

迪馬斯

回答

0

我交談過的SharePoint場的管理員和編程訪問被禁止,因此錯誤。

+0

我會嘗試下載鏈接文件並通過Access進行更新。這是現在要做的。 – Dimas

相關問題