+ Reply to Thread
Results 1 to 5 of 5

macro to connect to sql server database and retrieve data

  1. #1
    Registered User
    Join Date
    04-12-2013
    Location
    hyderabad
    MS-Off Ver
    Excel 2007
    Posts
    8

    macro to connect to sql server database and retrieve data

    can we connect to sql server database through macro..?

    if possible can anyone tell the syntax for that...

    thanks in advance
    vasa hemanth saikumar.

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

    Re: macro to connect to sql server database and retrieve data

    Yes, but you don't need a macro, you can use the import data wizard

  3. #3
    Registered User
    Join Date
    04-12-2013
    Location
    hyderabad
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: macro to connect to sql server database and retrieve data

    ya i know but going through import data wizard is a manual process ,i want to automate it by writing a macro... through macro i want to get the data from sql server database.. is der any code related to the above requirement if yes, please provide the solution

    thanks in advance,
    vasa hemanth saikumar

  4. #4
    Registered User
    Join Date
    04-12-2013
    Location
    hyderabad
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: macro to connect to sql server database and retrieve data

    can anyone please help...

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

    Re: macro to connect to sql server database and retrieve data


+ 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