?
Solved

Setting up external query without having Header Rows displayed in Excel 2007

Posted on 2010-08-20
4
Medium Priority
?
925 Views
Last Modified: 2013-11-05
In Excel 2003, when using Microsoft Query to setup queries to external data sources (such as another file, you had the option of "not including header rows".   In Excel 2007 I can't seem to find out how you do that?  It doesn't appear to be available under the "Properties" option on the Import Data.  I see that you have optoins on how you want to view the data such as Table, PivotTable, PviotChart and PivotTable and "Only Create Connection".  I might expect that "Only Create Connection" might give me this option, but when setting you a new connection to an Excel file, and after leaving Microsoft Query, it is "greyed" out so I can't select it.  

Any ideas?
0
Comment
Question by:StevenPMoffat
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 6

Accepted Solution

by:
steverice earned 375 total points
ID: 33488766
Click anywhere in the query results area. Click on 'Table Tools'  in the menu bar at the top of the page, deselect 'Header Row'

Steve
0
 

Author Comment

by:StevenPMoffat
ID: 33489363
I tried this.  But the next time I executed the query, it put the header row back in.   Remember I have a query into an external data range that is associated with a table.  In Excel 2003, I could setup the query, adjust the properties to not include header row,  and associate it with an external data range, but no table was needed.  

Is there a way to setup a query in Excel 2007 (using Microsoft Query) so that I can turn off the header row?  There appears to be an option when setting up the query to chose "To just setup a connection" but that is greyed out for me.  
0
 

Author Closing Comment

by:StevenPMoffat
ID: 33495395
This solved the part about hiding header rows, but didn't address the question about how to use "the connection only" option.  I will pose it as another question as I have run into a number of other difficultes with setting up queries using Microsoft Query in Excel 2007 that I didn't experience in Excel 2003.
0
 
LVL 6

Expert Comment

by:steverice
ID: 33500610
Your second point was only a speculation as to what you might do to remove the header rows. I gave you an answer for this - your only question. But thanks for the points anyway....

I'll make sure I look out for your questions again....(to save me the time answering them)
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

800 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question