+ Reply to Thread
Results 1 to 2 of 2

Query table, retain the column names on refresh

  1. #1
    Registered User
    Join Date
    05-09-2010
    Location
    Belgrade,Serbia
    MS-Off Ver
    Excel 2013
    Posts
    33

    Query table, retain the column names on refresh

    Hi,

    Here's my recorded macro:
    Please Login or Register  to view this content.
    The line in bold clears excess rows including the column names.
    I know I can modify the code to reenter these every time a refresh is completed
    but I am wondering if there is a more elegant solution to this problem.
    I tried hiding/unhiding the first row but it didn't work, all names were gone after refresh.
    I also tried to check /uncheck different options in data range properties window but it didn't solve the problem.

  2. #2
    Valued Forum Contributor
    Join Date
    05-21-2009
    Location
    Great Britain
    MS-Off Ver
    Excel 2003
    Posts
    550

    Re: Query table, retain the column names on refresh

    Try these changes (other tweaks might be needed):
    Please Login or Register  to view this content.
    Post responsibly. Search for excelforum.com

+ 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. Retain formatting on all Pivot Charts when table refresh
    By bhenlee in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-18-2015, 11:38 PM
  2. Retain pivot table data every time I refresh it?
    By athenavespa in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-24-2014, 07:34 PM
  3. Show query column names behind pivot table field names
    By gbritton in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 11-18-2013, 03:17 PM
  4. Refresh Query Table with VBA
    By fieldmarshamj in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-28-2013, 07:56 PM
  5. Problem with selecting range with in query table after query refresh
    By shooter in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-31-2012, 11:55 AM
  6. ideas - Query table refresh
    By MattShoreson in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-06-2005, 07:05 AM
  7. [SOLVED] Help! Query table refresh hangs excel
    By jbhan in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-29-2005, 05:06 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