+ Reply to Thread
Results 1 to 2 of 2

code fails on ".refresh" sometimes.

  1. #1
    Forum Contributor
    Join Date
    04-02-2017
    Location
    Australia
    MS-Off Ver
    2016
    Posts
    405

    code fails on ".refresh" sometimes.

    Hi guys,

    The following code works but sometimes fails on the ".Refresh" step, I am wondering if there is any way I can fix this and prevent it from failing. Any ideas?

    Please Login or Register  to view this content.
    Thanks,

    JimmyWilliams

  2. #2
    Forum Expert
    Join Date
    07-23-2018
    Location
    UK
    MS-Off Ver
    O365 32bit (Windows)
    Posts
    3,052

    Re: code fails on ".refresh" sometimes.

    You could try

    Please Login or Register  to view this content.

+ 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] "ActiveWorkbook.Path" fails - triggers "Compile Error Object required"
    By Ochimus in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-15-2018, 02:58 PM
  2. [SOLVED] If Dir(PathName & "\" & FileData) = "" Then - fails
    By dflak in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-20-2017, 04:27 PM
  3. Replies: 4
    Last Post: 06-01-2017, 11:45 PM
  4. [SOLVED] Why does the "CountIF" function fails on value "Monday Week 1"?
    By kashbg in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 06-02-2015, 03:24 PM
  5. 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
  6. If "String Variable" = "" then: (Fails)
    By vin1 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 02-17-2012, 07:11 AM
  7. Replies: 6
    Last Post: 12-21-2005, 07:20 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