+ Reply to Thread
Results 1 to 1 of 1

Looping VBA Query

  1. #1
    Registered User
    Join Date
    03-25-2012
    Location
    England
    MS-Off Ver
    Excel 2007 & Excel 2011 for Mac
    Posts
    79

    Looping VBA Query

    Hello,

    Basically I have the following VBA queries that bring some data from some .dbf files into Excel

    What I’m looking to do (If possible) is align the 3rd query (CBARTOT) with the second query (CBARSUM), this itself is very easy and not a problem, then based on the value in the first column of CBARSUM (A23) sum all the columns in CBARTOT and then loop down using the value in A24 and so on until there are no more values in the A column. Now CBARSUM could contain any number between 1 & 10 records as this query updates to a variety of different CBARSUM dbf files.

    I’ve attached a test workbook if that helps

    Please Login or Register  to view this content.
    Many Thanks
    Attached Files Attached Files

+ 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