+ Reply to Thread
Results 1 to 2 of 2

Is there a possibility to read and use data from a .SQL database in My excel sheet?

Hybrid View

  1. #1
    Registered User
    Join Date
    12-09-2014
    Location
    Holland
    MS-Off Ver
    MS Office 2011 mac
    Posts
    3

    Is there a possibility to read and use data from a .SQL database in My excel sheet?

    I'm trying to make a new Excel workbook that can communicate or take information out of an sql database, I want the following to happen:

    In the excel sheet I type a number (client id) that corresponds with a number (client id) in the database. This client id has some information like: name, address, postal code etc.

    I'm looking for a possibility where I type the client id in my Excel sheet and it will output all the client information from the database in my excel sheet

    I'm quite new to excel so I was wondering if this is even possible? If yes, what is the best way to do this?

    Things I already tried are the "External Data Source" -> "Database" button. But that way I couldn't really find out how to connect to the database.

    Thanks in advance!

  2. #2
    Forum Expert
    Join Date
    10-09-2014
    Location
    Newcastle, England
    MS-Off Ver
    2003 & 2013
    Posts
    1,986

    Re: Is there a possibility to read and use data from a .SQL database in My excel sheet?

    There was a thread earlier about using Access databases in Excel > http://www.excelforum.com/excel-prog...ml#post3923757

    The 2st part of my answer is how to connect and return the query, this should only need minor tweeks (I believe) to use an SQL database rather than Access.
    If someone has helped you then please add to their Reputation

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Macro to read data from a MySQL-database
    By Pero in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-02-2015, 02:00 PM
  2. Replies: 45
    Last Post: 12-19-2013, 10:17 AM
  3. Read Data into an Array, Write Data into Another Sheet (Excel VBA Only) [v14/2010]
    By lloydgodin in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-15-2012, 07:22 PM
  4. [SOLVED] How to get excel to read a database
    By delaneybob in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 02-07-2012, 10:11 AM
  5. How to read Excel data in a sheet
    By sdondeti in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-15-2009, 03:55 PM

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