+ Reply to Thread
Results 1 to 4 of 4

SOLVED Why does my macro cause "auto update" of all workbook connections to stop working

  1. #1
    Forum Contributor
    Join Date
    11-14-2014
    Location
    uk
    MS-Off Ver
    Excel 2010
    Posts
    100

    SOLVED Why does my macro cause "auto update" of all workbook connections to stop working

    Hi when I run this macro in MVB all the workbook connections to the web stop updating automatically, when I stop the macro then auto refresh of workbook connections works fine

    what would be the cause of this

    Cheers



    Please Login or Register  to view this content.

    End Sub
    Last edited by semajjames; 02-23-2015 at 12:34 AM.

  2. #2
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Why does my macro cause "auto update" of all workbook connections to stop working

    Have you thought of the 240 second delay that you programmed into the routine?
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

  3. #3
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Why does my macro cause "auto update" of all workbook connections to stop working

    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here



    (This thread should receive no further responses until this moderation request is fulfilled, as per Forum Rule 7)

  4. #4
    Forum Contributor
    Join Date
    11-14-2014
    Location
    uk
    MS-Off Ver
    Excel 2010
    Posts
    100

    Re: Why does my macro cause "auto update" of all workbook connections to stop working

    Thanks I fixed it now,,

    by scrapping trying to use the auto refresh in workbook connections and placed "refresh workbook" in the code insread

    cheers

+ 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. Update Macro to search column Bfor "Fail" and "Exception"
    By programct in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-10-2014, 02:32 PM
  2. [SOLVED] Update from "August" workbook to "year to Date"-workbook
    By esbenhaugaard in forum Excel Programming / VBA / Macros
    Replies: 31
    Last Post: 08-20-2012, 03:30 PM
  3. Update to closed post "Auto Insert System Date & Time "
    By scaffdog845 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-24-2009, 08:01 AM
  4. [SOLVED] Auto update to "tab" in a reference link
    By Missy in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-04-2006, 09:00 AM
  5. Replies: 0
    Last Post: 01-04-2006, 06:55 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