+ Reply to Thread
Results 1 to 3 of 3

Can ADO use to pull data from files stored at SharePoint

  1. #1
    Registered User
    Join Date
    06-03-2010
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    10

    Can ADO use to pull data from files stored at SharePoint

    I think I better started another thread about ADO, hope someone who has the knowlege on it can help.

    A bit of background is : I have 2 spreadsheets, one is like a form for users to fill in a customer number, then click the “Get data” button to initial a macro, which will connect to another Excel spreadsheet located in the company intranet, to search the records database which is over 10,000 rows, once found, to return the customer information like purchase date, what produce, what model….etc. back to the Result.xls

    Leith from the Forum has kindly shown me how to do it by using the FIND function, unfortunately, I don't want to open the Data.xlsm file while searching the data to make the process faster. Leith suggested ADO.

    I've been able to use the below ADO script I found on the web, it works perfectly when the Data.xlsm is local, once I point to the actual Data.xlsm file which is located in the Sharepoint, I have the 'run time error '-2147467258(80004005)': Invalid internet address. The script stopped at oRS.Open sSQL, sConnect, adOPenForwardOnly, _adLockReadOnly, adCmdText. Any idea??

    Please Login or Register  to view this content.
    Is ADO cannot use to connect files located in http??

    Thanks & regards.
    Last edited by vlady; 02-24-2014 at 02:23 AM.

  2. #2
    Registered User
    Join Date
    02-10-2014
    Location
    NOIDA, India
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Can ADO use to pull data from files stored at SharePoint

    Hi,

    Did you get any reponse on this one? I have exactly same issue going on with one of my tools.

    Could you please let me know if you have anything on this.

    Thanks much in advance.

    Manoj

  3. #3
    Forum Expert Alf's Avatar
    Join Date
    03-13-2004
    Location
    Gothenburg/Mullsjoe, Sweden
    MS-Off Ver
    Excel 2019 and not sure I like it
    Posts
    4,758

    Re: Can ADO use to pull data from files stored at SharePoint

    Perhaps something of interest could be found here?

    https://www.connectionstrings.com/sharepoint/

    Alf

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1