+ Reply to Thread
Results 1 to 2 of 2

Macro to connect database

  1. #1
    Registered User
    Join Date
    05-25-2010
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    1

    Exclamation Macro to connect database

    Hi,
    I need to connect database with Excel using macros. I want to fetch data by running macros from Excel sheet and want to import data in excel.

    Can anyone please help me in writing macro code to connect the database and extract data.
    I have following database details with me :
    User name : abctest
    Password : ********
    Host : abc408
    TCP Port: 1234
    SID : cq30

    Please write a code using the dummy details provided above.
    many thanks in advance for your help.

    Thanks

  2. #2
    Forum Expert snb's Avatar
    Join Date
    05-09-2010
    Location
    VBA
    MS-Off Ver
    Redhat
    Posts
    5,649

    Re: Macro to connect database

    Have a look at webqueries and databasequeries.

+ 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