Connect .xlsx file saved in sharepoint with ADODB connection in Excel

rahulmeher

New Member
Joined
Oct 8, 2022
Messages
1
Office Version
  1. 365
Platform
  1. Windows
Hi,

I am working with 100mb+ xlsx files and trying to access these files save in Share Point.

I tried ADODB connection string to access. If file is saved on local drive, connection works fine but not able to connect data on sharepoint.

Please help.

My Connection Code ==

""
Set rs = New ADODB.Recordset
Set cn = New ADODB.Connection

FilePath = "https://companyname/personal/folder1/Documents/Test_Save.xlsx"
cn.ConnectionString = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" & FilePath & ";Extended Properties=""Excel 12.0 Xml;HDR=Yes"";"

""
 

Attachments

  • error.png
    error.png
    3.5 KB · Views: 56

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK

Forum statistics

Threads
1,223,714
Messages
6,174,049
Members
452,542
Latest member
Bricklin

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