ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Set objListObject (https://www.excelbanter.com/excel-programming/442390-set-objlistobject.html)

Basta1980

Set objListObject
 
Hi all,

Rather frustrated here ;-)

Trying to import a list from Sharepoint but I can't get the syntax right.

Sharpoint Site =
https://sharepoint.mycompany.com/com...Allitemsg.aspx
List = Overzicht Online diensten
Command = Set objListObject =
ActiveWorkbook.Worksheets(1).ListObjects.Add(Sourc eType:= xlSrcExternal, _
Source:= Array(strServerName, StrListGUID), TRUE, XlGuess,
Destination:= Range("A1")

How do I adress the source?

Kind regards

Basta1980


All times are GMT +1. The time now is 02:24 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com