Results 1 to 2 of 2
  1. #1
    Reuser is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Feb 2016
    Posts
    1

    Automatically Running a macro that exports a file


    Hi all, so I have a macro that generates a report from the access database, and exports it as a pdf. I would like to do two things.
    1) automate this so it runs everyday at a set time
    2) not have to click the save button when the dialog box pops up looking for a save location.

    Is this possible? Thank you!

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    1) I'd create a db that performed the desired functionality when it started, then quits. Then I'd run that from Windows Scheduled Tasks.

    2) Probably possible, depending on what method you use to create the file. I use OutputTo in VBA which doesn't create any prompts.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Automatically running Word Mailmerge from Access VBA
    By pledbetter in forum Programming
    Replies: 13
    Last Post: 04-14-2018, 05:06 PM
  2. Replies: 1
    Last Post: 10-29-2015, 07:03 AM
  3. Replies: 1
    Last Post: 03-11-2014, 09:29 AM
  4. Replies: 4
    Last Post: 03-11-2012, 08:51 AM
  5. Help Automatically running and Update Query
    By JohnRandolphSTL in forum Queries
    Replies: 8
    Last Post: 04-13-2010, 02:08 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums