+ Reply to Thread
Results 1 to 5 of 5

Removing connections

  1. #1
    Registered User
    Join Date
    09-21-2012
    Location
    Esbjerg, denmark
    MS-Off Ver
    Excel 2007
    Posts
    3

    Removing connections

    Hi All,

    I am writing a macro that collects data from many different http addresses on our intranet. This however leaves me with a lot of connections, that slows excel after a while. How can I delete these connections ? I create the connection as shown below.

    Please Login or Register  to view this content.

    I have tried "
    Please Login or Register  to view this content.
    " with no effect.
    Last edited by Amdi; 01-28-2013 at 09:40 AM.

  2. #2
    Forum Expert OllieB's Avatar
    Join Date
    12-20-2012
    Location
    Netherlands
    MS-Off Ver
    Excel 2007 (home) & 2010 (office)
    Posts
    1,542

    Re: Removing connections

    Hi Amdi,

    The forum rules stipulate that if you show code in your post you must do so using CODE tags. Please edit you post, select the code and click on the # button.
    If you like my contribution click the star icon!

  3. #3
    Registered User
    Join Date
    09-21-2012
    Location
    Esbjerg, denmark
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Removing connections

    Sorry about that. It has been corrected.

  4. #4
    Forum Expert OllieB's Avatar
    Join Date
    12-20-2012
    Location
    Netherlands
    MS-Off Ver
    Excel 2007 (home) & 2010 (office)
    Posts
    1,542

    Re: Removing connections

    Hi Amdi,

    No probs.

    Try deleting the QueryTable as opposed to the connection

  5. #5
    Registered User
    Join Date
    09-21-2012
    Location
    Esbjerg, denmark
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Removing connections

    Hi OllieB

    Thanks, that worked. with your advice and a little help from google I found the below to remove the tables.

    Please Login or Register  to view this content.
    I also stumbled over the method below, that also can solve this issue.

    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)

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