Results 1 to 2 of 2
  1. #1
    Baz16 is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jun 2015
    Posts
    11

    Export and Import data from excel to a Access Database stored in sharepoint

    I have built a spreadsheet which imports and exports data to a data base using the below vba to connect to the database



    Set cn = New ADODB.Connection
    cn.Open "Provider=Microsoft.Ace.OLEDB.12.0; " & _
    "Data Source=\\ntfiler1\Service_Design\PMT\DatabaseProce ssManagement.accdb;"

    I wish to store the database on a sharepoint and so I changed the Data Source to the URL address of the sharepoint stored database, however this does not work, how can I connect to a database that is stored on sharepoint and be able to connect to it to transfer data to and from the database from an execl sheet.

    Thanks

  2. #2
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    7,862
    I am not an expert in SharePoint. However, I do not believe you can use SharePoint to host an Access database. You can place an Access file in a SharePoint Library for the purpose of collaboration. But, I don't think you are going to get he functionality of your DB that you are after.

    The way I understand it is that SharePoint data can be stored in Lists. There are Endpoints provided for Lists. You can connect to and synch Lists from your Access Desktop app or Access Web app. You can also connect to and synch Lists with Excel Worksheets.

    Having said that, you can publish your Access 2013 db to SharePoint 2013 or SharePoint 2010 Enterprise Edition and use SharePoint's Access Services to host your Access Web App. My understanding is that publishing the Access DB to SharePoint's Access Services will, in fact, create a lightweight version of an SQL Database backend on SharePoint.

    I suppose the first thing you will need to do is determine if you are going to be working with Lists, Access Web Apps, or both Lists and Web Apps. Then you can determine how to update/append info in the tables/lists.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Importing Excel file stored on sharepoint
    By tezza79 in forum Import/Export Data
    Replies: 0
    Last Post: 01-27-2015, 01:29 AM
  2. Auto Import Excel Data into a Running Access Database
    By novice1979 in forum Programming
    Replies: 5
    Last Post: 12-02-2014, 08:19 AM
  3. Replies: 3
    Last Post: 01-07-2014, 03:39 PM
  4. Replies: 22
    Last Post: 09-06-2011, 11:34 AM
  5. import/export attachments to SharePoint list
    By Cojack in forum Import/Export Data
    Replies: 0
    Last Post: 07-15-2011, 01:39 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums