+ Reply to Thread
Results 1 to 2 of 2

refreshing data connection erroring

  1. #1
    Forum Contributor
    Join Date
    06-17-2013
    Location
    australia
    MS-Off Ver
    Excel 2007
    Posts
    247

    refreshing data connection erroring

    Hi All,

    I am trying to create a macro that refreshes the data connection
    however i keep getting an error here:

    ActiveWorkbook.Connections("PSQLSTLW007 ProductReprting").Refresh - runtime 1004?

    Any ideas on how to fix?

  2. #2
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    22,009

    Re: refreshing data connection erroring

    Is that a typo in the connection name? Can you manually refresh it?
    Everyone who confuses correlation and causation ends up dead.

+ 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. Editing Connection Strings and refreshing Pivot Tables
    By fadydaddy in forum Excel Programming / VBA / Macros
    Replies: 22
    Last Post: 06-03-2012, 04:29 PM
  3. Refreshing Web Connection that requires login
    By RubberDuckey in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-07-2011, 03:59 PM
  4. Excel 2007 data connection not using connection file
    By algilstrap in forum Excel General
    Replies: 0
    Last Post: 06-09-2009, 03:01 PM
  5. add something to m code to keep from erroring
    By daniels012 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-28-2009, 09:55 AM

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