+ Reply to Thread
Results 1 to 3 of 3

VBA for Every 15 min workbook will open and save data and close (for external links update

  1. #1
    Forum Contributor
    Join Date
    04-06-2016
    Location
    Singapore
    MS-Off Ver
    MS Office 365 & 2010
    Posts
    701

    VBA for Every 15 min workbook will open and save data and close (for external links update

    Hi friends,

    I have some files in Google Drive, So that I want in every 15 min. file open in "Application.ScreenUpdating = False" mode and save file and close.
    This is a helper file, so that no need to open, it will automatically open and update links and save and close. Edit links auto updated options SELECTED.

  2. #2
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: VBA for Every 15 min workbook will open and save data and close (for external links up

    I'm not sure you can have a workbook open automatically with VBA. In order for the VBA code to run, the workbook has to be open already.
    1N73LL1G3NC3 15 7H3 4B1L17Y 70 4D4P7 70 CH4NG3 - 573PH3N H4WK1NG
    You don't have to add Rep if I have helped you out (but it would be nice), but please mark the thread as SOLVED if your issue is resolved.

    Tom

  3. #3
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,405

    Re: VBA for Every 15 min workbook will open and save data and close (for external links up

    You could use Windows Scheduler to open the file for you. Then VBA to close it.

    I've never used Scheduler but I'm presuming (maybe in error) that it can be configured to function every
    15 minutes.

    Otherwise, I agree with gmr4evr1 ... the workbook would need to be open all the time.

+ 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] Automatically open a workbook and update external links
    By billj in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-10-2016, 11:56 AM
  2. Replies: 1
    Last Post: 06-09-2016, 12:05 PM
  3. Macro to open, update links, save then close all files in sub folders
    By msdelaney in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-03-2015, 05:48 PM
  4. [SOLVED] Open External File, Write Data, Save and Close without prompt.
    By dwbennett in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-29-2015, 11:09 PM
  5. Possible to have a shared workbook update external data links?
    By scottatbuckman in forum Excel General
    Replies: 1
    Last Post: 03-03-2014, 12:38 AM
  6. Replies: 2
    Last Post: 02-06-2007, 08:26 AM
  7. [SOLVED] Links only update when external workbook is open
    By CMB in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-07-2005, 08:45 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