Solved

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

Posted on 2010-08-20
4
893 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
  • 2
  • 2
4 Comments
 
LVL 6

Accepted Solution

by:
steverice earned 125 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Convert between Excel file formats (.XLS, .XLSX, .XLSM) with/without macro option David Miller (dlmille) Intro Over this past Fall, I've had the opportunity to see several similar requests and have developed a couple related solutions associate…
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 Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

914 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now