+ Reply to Thread
Results 1 to 3 of 3

VBA help needed

Hybrid View

  1. #1
    Registered User
    Join Date
    06-26-2009
    Location
    Dallas, TX
    MS-Off Ver
    Excel 2003
    Posts
    1

    VBA help needed

    I'm decently familiar with vba and macros, etc, but I'm stumbling on this one and endless googling isn't helping.

    I want to have Excel open automatically, say at 2am every night (which I probably will do with Microsoft Scheduler unless someone knows of a better way), then open a specific file and refresh the query in that file via a macro, and then save and close the file (and even Excel if possible).

    A related concern, though, is that Excel will always open this file when Excel is opened, even during the day during normal use, which I'd rather avoid...

    Any ideas?

    Thanks in advance!
    Last edited by bct; 06-26-2009 at 10:29 AM.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: VBA help needed

    Welcome to the forum.

    Please take a few minutes to read the forum rules, and then amend your thread title accordingly.

    Thanks.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Forum Expert Simon Lloyd's Avatar
    Join Date
    03-02-2004
    Location
    locked in the cage
    MS-Off Ver
    All the ones my homepage shows
    Posts
    3,161

    Re: VBA help needed

    shg, my apologies for answering please soft delete!
    Not all forums are the same - seek and you shall find

+ 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