+ Reply to Thread
Results 1 to 2 of 2

combine three reports

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    01-16-2013
    Location
    london
    MS-Off Ver
    Excel 2007
    Posts
    136

    combine three reports

    Hi the attached has 4 tabs with different tables.

    Id like to be able to create the outcome tab in access by combining the tables on the first three tabs. Note the tables on the first three tabs don't necessarily have the same account numbers.

    How would I do this?

    Any help much appreciatedaccess.xlsx

  2. #2
    Valued Forum Contributor ranman256's Avatar
    Join Date
    07-29-2012
    Location
    Kentucky
    MS-Off Ver
    Excel 2003
    Posts
    1,190

    Re: combine three reports

    you would export the 4 queries in a macro (or vb code) similar to

    vFile = "C:\folder\file.xlsx"
    DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel12, "qsQry1", vFile, True, "Capital"
    DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel12, "qsQry2", vFile, True, "Income"
    DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel12, "qsQry3", vFile, True, "Investment"

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. combine/compare two reports with different formating
    By kleptilian in forum Excel Programming / VBA / Macros
    Replies: 26
    Last Post: 09-16-2015, 10:02 PM
  2. [SOLVED] Creating a macro that will combine reports (excel files) into one
    By soupi in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 04-02-2014, 09:24 PM
  3. Please Help - Summary/Reports (Multiple columns calculation into different reports)
    By funguy757 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-17-2014, 12:50 PM
  4. Macro to generate reports for questionnaire (separate reports for every form)
    By skyvik24 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-25-2013, 05:25 AM
  5. Combine two reports accordingly
    By wahbi in forum Excel Programming / VBA / Macros
    Replies: 52
    Last Post: 03-24-2013, 07:07 AM
  6. combine two reports accordingly
    By wahbi in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-13-2013, 11:30 AM
  7. Turning Daily Reports into Monthly Reports
    By jambezi in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-19-2009, 05:31 PM

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