+ Reply to Thread
Results 1 to 2 of 2

Macro runs an access query, how do I automate it so that it copies query results to excel

  1. #1
    Registered User
    Join Date
    08-04-2015
    Location
    Arkansas, USA
    MS-Off Ver
    Excel 2010
    Posts
    5

    Macro runs an access query, how do I automate it so that it copies query results to excel

    Dear MVP's:

    There is a macro that runs several queries in my access database.

    The macro is a macro and not a procedure in a module.

    This macro (not a module) runs several queries.

    Once query is run, the user is supposed to take the previous weeks excel report and do a "save as" and rename it to the current week and copy each query output to its corresponding data tab in excel.

    Then refresh all pivot tables in this excel workbook and save the spreadsheet to a particular folder path.


    Any suggestions to point me in the right direction would be greatly appreciated. I should mention I do not know VBA.



    Thank you,



    Lisa

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,879

    Re: Macro runs an access query, how do I automate it so that it copies query results to ex

    Your post does not comply with Rule 8 of our Forum RULES. Do not crosspost your question on multiple forums without including links here to the other threads on other forums.

    Cross-posting is when you post the same question in other forums on the web. The last thing you want to do is waste people's time working on an issue you have already resolved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser) to the cross-post.

    Expect cross-posted questions without a link to be closed and a message will be posted by the moderator explaining why. We are here to help so help us to help you!

    Read this to understand why we ask you to do this, and then please edit your first post to include links to any and all cross-posts in any other forums (not just this site).

    crossposted at: http://www.mrexcel.com/forum/microso...ort-excel.html
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

+ 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. [SOLVED] VBA to export Access Query results to Excel
    By jmzis4me in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-01-2014, 06:34 PM
  2. Display Access union query results in excel
    By anoushka in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-26-2012, 11:27 AM
  3. [SOLVED] Can I import the results of an Access Query into Excel?
    By MrChips in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-20-2012, 05:57 PM
  4. Pull query results from Access to Excel
    By yellephant in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 05-30-2007, 02:50 PM
  5. Web Query macro runs w/o Query installed?
    By ern2ern in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-28-2007, 01:24 PM
  6. VBA - query an Access table -> results in Excel
    By rirus in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-21-2006, 02:35 PM
  7. [SOLVED] Access query results to Excel
    By piano banger in forum Excel General
    Replies: 2
    Last Post: 08-14-2006, 07:30 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