+ Reply to Thread
Results 1 to 3 of 3

Why has "auto refresh web data" stopped working

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

    Why has "auto refresh web data" stopped working

    I have A web page feeding into excel and have set excel to refresh the data every 1 min but it is not doing it ,,,

    If I press the "refresh All" button on the top tool bar it starts to refresh I see the green globe near the start button but that's all, the data does not refresh ,,, however if i go into "workbook connections" and use the refresh button there then the data updates fine but still no auto update

    what can cause this ??

    cheers

    after pressing "refresh all" inside "workbook connections" the window need's to be closed before refresh completes ,,,
    Last edited by semajjames; 01-28-2015 at 08:37 PM.

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

    Re: Why has "auto refresh web data" stopped working

    Update ,,, i use this code in my workbook ,,,, the code is interfering with refresh

    when I have the code running then refresh does not work but if I pause/break the code then refresh work's as normal



    Sub RealTimeGraph()

    starttime = Int(Timer)
    Do
    If Timer - starttime > 300 Then
    Application.Workbooks("Book1.xlsm").Sheets("Sheet2").Range("B" & Rows.Count).End(xlUp).Offset(1) = _
    Application.Workbooks("Book1.xlsm").Sheets("Sheet1").Range("a1")
    Application.Workbooks("Book1.xlsm").Sheets("Sheet2").Range("C" & Rows.Count).End(xlUp).Offset(1) = _
    Application.Workbooks("Book1.xlsm").Sheets("Sheet1").Range("a2")
    starttime = Int(Timer)
    DoEvents
    Else: DoEvents
    End If
    Loop While Application.Workbooks("Book1.xlsm").Sheets("Sheet2").Range("B400") = ""

    End Sub

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

    Re: Why has "auto refresh web data" stopped working

    I have found this ,,, only thing is my query is not part of the code ,,,,,
    could it be causing this problem ?

    NOTE While you are recording a macro that includes a query, Excel does not run the query in the background. To change the recorded macro so that the query runs in the background, edit the macro in the Visual Basic Editor. Change the refresh method for the QueryTable object from BackgroundQuery := False to BackgroundQuery := True.

+ 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. document.execCommand "Copy" has stopped working with Internet Explorer
    By Dan_Q in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-25-2016, 06:22 AM
  2. Outlook "Strip Attachment" macro suddenly stopped working
    By Castillb in forum Outlook Programming / VBA / Macros
    Replies: 2
    Last Post: 07-20-2014, 08:31 AM
  3. Replies: 7
    Last Post: 11-14-2013, 04:25 PM
  4. Replies: 2
    Last Post: 06-10-2013, 06:18 PM
  5. Replies: 2
    Last Post: 10-02-2012, 12:17 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