+ Reply to Thread
Results 1 to 3 of 3

VBA Data Connection Refresh when File is in use

  1. #1
    Forum Contributor Pierce Quality's Avatar
    Join Date
    07-29-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    221

    VBA Data Connection Refresh when File is in use

    Hi All,

    Im having an issue with the vba I want to use to refresh the data in my workbook.

    Currently I use
    Please Login or Register  to view this content.
    to refresh the data in a master workbook, however this way also refreshes the pivot tables in the same book (of which there are many), which adds significant time the macro exectuion (this is part of a larger macro). The upside is that when the workbook that has the data Im pulling from is in use by another individual, excel will automatically open a read only version and pull the data from that instead.

    When I tried using this instead
    Please Login or Register  to view this content.
    for each data connection, the connection will not be made and I have to skip that file if it is open. There are eleven connections in the master workbook, and if the data file is not in use it works fine.

    Does anyone know if it is possible to to pull data from an open workbook using this method instead, or is there another method to refresh all data connections only?

    Thanks!

  2. #2
    Forum Contributor Pierce Quality's Avatar
    Join Date
    07-29-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    221

    Re: VBA Data Connection Refresh when File is in use

    Bumping along.

  3. #3
    Forum Contributor Pierce Quality's Avatar
    Join Date
    07-29-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    221

    Re: VBA Data Connection Refresh when File is in use

    Bumping along.

+ 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. Replies: 2
    Last Post: 05-15-2015, 04:12 PM
  2. Formatting not updating upon data connection refresh
    By jmewebb in forum Excel General
    Replies: 1
    Last Post: 06-03-2014, 02:05 PM
  3. Running Code After "Opening File" Event Has Triggered Data Connection Refresh
    By david.nicholls in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-09-2013, 07:22 AM
  4. Refresh Data Connection Compatibility 2007 vs 2003
    By cfherd in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-02-2012, 05:13 AM
  5. Excel 2007 data connection not using connection file
    By algilstrap in forum Excel General
    Replies: 0
    Last Post: 06-09-2009, 03:01 PM

Tags for this Thread

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