+ Reply to Thread
Results 1 to 3 of 3

how to query mysql and get result into excel?

  1. #1
    Registered User
    Join Date
    06-09-2006
    Posts
    62

    how to query mysql and get result into excel?

    Hi all,
    I'm very newbie to excel programing (though I'm a JAVA programmer).

    Can anyone point to an article/thread that provides an example how to query a database (mysql) and retrieve the result to excel.

    In other words, I would like to know how to write a simple command (think about a button) that once clicked it retrieves a list from a database into excel.

    thank you for any pointers.

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258
    Hello Xianwinwin,

    You should find this Microsoft Knowledge Base article useful. It walks you through setting up a connection between an ODBC database, like MySQL, and Excel. It also has examples on how to retrieve data.

    http://support.microsoft.com/kb/257819

    Sincerely,
    Leith Ross

  3. #3
    Registered User
    Join Date
    06-09-2006
    Posts
    62
    Hi Leith,

    I'll use that link and return to this thread for an observation.

    thank you very much!

+ 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