Excel 2007/ SharePoint List

JimmyDan

New Member
Joined
May 7, 2011
Messages
1
Hi,

I have a pretty large sharepoint list (~70K rows). I have some VBA to download the entire list to Excel (below). The only problem is that it takes quite a while to pull down the entire list.

I'm wondering if there is any way I can pull down only the rows which meet certain conditions (eg column 2 >0, column 3>Today). Any thoughts? :)


Code:
ActiveSheet.ListObjects.Add SourceType:=xlSrcExternal, _
     Source:=Array("http://sharepoint/_vti_bin", "List Name", _
     "{XXXXXXXX-XXXX-XXXX-XXXX-59BBE54DE7D7}"), LinkSource:=True, Destination:=Range("A1")
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand

Forum statistics

Threads
1,224,522
Messages
6,179,292
Members
452,902
Latest member
Knuddeluff

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top