Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. Fetch DB2 table data into MS-Excel

Fetch DB2 table data into MS-Excel

Scheduled Pinned Locked Moved Database
databasehelpquestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    Jay_se
    wrote on last edited by
    #1

    Hi All, I need to query the DB2 database tables and populate the Excel work sheets (one sheet for single table) using VB Macro. Also, I need the validation in the Excel sheet itself. (DB2 database credetials) Can you pls help me to get start? Thanks, Jeyakumar :)

    Jey

    modified on Wednesday, April 16, 2008 6:11 AM

    C 1 Reply Last reply
    0
    • J Jay_se

      Hi All, I need to query the DB2 database tables and populate the Excel work sheets (one sheet for single table) using VB Macro. Also, I need the validation in the Excel sheet itself. (DB2 database credetials) Can you pls help me to get start? Thanks, Jeyakumar :)

      Jey

      modified on Wednesday, April 16, 2008 6:11 AM

      C Offline
      C Offline
      ChandraRam
      wrote on last edited by
      #2

      Jay_se wrote:

      I need to query the DB2 database tables and populate the Excel work sheets (one sheet for single table) using VB Macro. Also, I need the validation in the Excel sheet itself. (DB2 database credetials)

      I believe Excel VBA does ADO, so you should be able to connect to the DB2 database and do your stuff. For connection information, look up www.connectionstrings.com[^].

      J 1 Reply Last reply
      0
      • C ChandraRam

        Jay_se wrote:

        I need to query the DB2 database tables and populate the Excel work sheets (one sheet for single table) using VB Macro. Also, I need the validation in the Excel sheet itself. (DB2 database credetials)

        I believe Excel VBA does ADO, so you should be able to connect to the DB2 database and do your stuff. For connection information, look up www.connectionstrings.com[^].

        J Offline
        J Offline
        Jay_se
        wrote on last edited by
        #3

        Thanks ChandraRam, It is helpful. :)

        Jey

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups