Trying to import list from Sharepoint to Excel -


i trying import sharepoint list excel 2010 worksheet. code below worked in 2003 not work in excel 2010.

set tempsheet = thisworkbook.sheets.add tempsheet.name = ("temp") set tempsheet2 = sheets("temp") tempsheet2.activate      ------ code below issue ----------------  dim src(2) variant src(0) = "https://collaborate.statestr.com/sites/casg/exceptions/_vti_bin/" src(1) = "{72b6638e-0e7b-4b37-a6a5-3142033e4e02}" src(2) = "{163702d0-a380-467f-b883-1195f4f40616}"  tempsheet2.listobjects.add xlsrcexternal, src, true, xlyes, tempsheet2.range("a2") 

i run time error message 1004. initialization of data source failed.

i haven't run myself, officewriter has sharepoint plugin exports data lists excel workbooks. see http://www.officewriter.com/sharepoint. disclaimer: didn't work on plugin, did work on last version of officewriter.


Comments

Popular posts from this blog

django - How can I change user group without delete record -

java - Need to add SOAP security token -

java - EclipseLink JPA Object is not a known entity type -