Consulting

Results 1 to 4 of 4

Thread: Relate 2 Tables in Excel Database

  1. #1

    Smile Relate 2 Tables in Excel Database

    I have 2 worksheets as database in Excel. Can I use a query command to retrieve related information from the two worksheets?

  2. #2
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    If you use named ranges for each data set on each sheet, you can use ADO woith SQL. See the thread in SQl for more details.
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  3. #3
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    If you use named ranges for each data set on each sheet, you can use ADO woith SQL. See the thread in SQL forum http://vbaexpress.com/forum/showthread.php?t=14661 for more details.
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  4. #4

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •