+ Reply to Thread
Results 1 to 6 of 6

Refresh Query by Name, not by Sheet().Range().QueryTable

  1. #1
    Forum Expert Whizbang's Avatar
    Join Date
    08-05-2009
    Location
    Greenville, NH
    MS-Off Ver
    2010
    Posts
    1,395

    Refresh Query by Name, not by Sheet().Range().QueryTable

    I would like to refresh my queries by their names, rather than by

    Please Login or Register  to view this content.
    I would like it independent of the sheet and range. Something like

    Please Login or Register  to view this content.
    Is this possible?
    Last edited by Whizbang; 11-17-2009 at 05:00 PM.

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

    Re: Refresh Query by Name, not by Sheet().Range().QueryTable

    No, it's not, I'm afraid. (you don't need the Range bit though).
    Everyone who confuses correlation and causation ends up dead.

  3. #3
    Forum Expert Whizbang's Avatar
    Join Date
    08-05-2009
    Location
    Greenville, NH
    MS-Off Ver
    2010
    Posts
    1,395

    Re: Refresh Query by Name, not by Sheet().Range().QueryTable

    Quote Originally Posted by romperstomper View Post
    (you don't need the Range bit though).
    Do you mind clarifying that? I can't seem to get it to work without some sort of cell reference.

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

    Re: Refresh Query by Name, not by Sheet().Range().QueryTable

    Certainly - for example:
    Please Login or Register  to view this content.

  5. #5
    Forum Expert Whizbang's Avatar
    Join Date
    08-05-2009
    Location
    Greenville, NH
    MS-Off Ver
    2010
    Posts
    1,395

    Re: Refresh Query by Name, not by Sheet().Range().QueryTable

    Ok. Thanks.

  6. #6
    Forum Expert Whizbang's Avatar
    Join Date
    08-05-2009
    Location
    Greenville, NH
    MS-Off Ver
    2010
    Posts
    1,395

    Re: Refresh Query by Name, not by Sheet().Range().QueryTable

    I found this:

    http://www.vbforums.com/showthread.php?t=333048

    The person seems to be using the syntax
    Please Login or Register  to view this content.
    They also seem to use an index

    Please Login or Register  to view this content.
    But I can't seem to get it to work at all.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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