+ Reply to Thread
Results 1 to 6 of 6

How to get data from Excel User Interface and save it in MS SQL Server Express

  1. #1
    Registered User
    Join Date
    06-05-2013
    Location
    melbourne
    MS-Off Ver
    Excel 2010
    Posts
    12

    Question How to get data from Excel User Interface and save it in MS SQL Server Express

    Hi there,

    I am using an Excel User interface where users enter data for a product. The Excel user interface is not in tabular format, it has fields placed such that the worksheet looks like a form.

    The information from the Excel user interface will be saved in multiple tables. For example, the product description from excel is to be saved in Product_Details table and the product cost from excel is to be saved in Product_Finance table. I want to store the data from excel into MS SQL Server Express. I have already created the required tables in SQL Server database.

    Can someone help me with the best possible way to save this data from Excel to SQL Server? I am also happy to use stored procedures for this if required. If someone can guide me with a link or any article where this has been explained, that would be really helpful.

    Awaiting response.

    Thanks.

  2. #2
    Forum Expert Kenneth Hobson's Avatar
    Join Date
    02-05-2007
    Location
    Tecumseh, OK
    MS-Off Ver
    Office 365, Win10Home
    Posts
    2,573

    Re: How to get data from Excel User Interface and save it in MS SQL Server Express

    Use ADO. See the Connection Strings section for the string for SQL Server and other code at: http://www.erlandsendata.no/english/...php?t=envbadac

  3. #3
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,238

    Re: How to get data from Excel User Interface and save it in MS SQL Server Express

    Have a look and see if this gets you going: http://www.excelforum.com/tips-and-t...ql-server.html

  4. #4
    Registered User
    Join Date
    06-05-2013
    Location
    melbourne
    MS-Off Ver
    Excel 2010
    Posts
    12

    Re: How to get data from Excel User Interface and save it in MS SQL Server Express

    Thanks Kyle and Kenneth. I will try it and will let you know how it goes.

    Thanks.

  5. #5
    Registered User
    Join Date
    06-05-2013
    Location
    melbourne
    MS-Off Ver
    Excel 2010
    Posts
    12

    Re: How to get data from Excel User Interface and save it in MS SQL Server Express

    Hi Kyle, I read your article. It's excellent. I would love to see part 2. I know you said you didn't get a chance to write it up, but I am sure many forum users would love to read it. Anyways if I will have any queries, I will post it.
    Thanks.

  6. #6
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,238

    Re: How to get data from Excel User Interface and save it in MS SQL Server Express

    I didn't ever finish it off since no-one was really bothered/asked for it - I wrote part one as I was asked for an introduction.

    I'll see if I can find time to do part two since it would help

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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