Solved

Linking Excel file to Access when the first line doesn't contain column headings

Posted on 2013-12-29
2
293 Views
Last Modified: 2013-12-30
Hi.  I have an Excel file (sample attached) where my heading rows are on the 3rd line.  If I wanted to be able to link this to Access, how do I let it know my column headings aren't in the first row, but rather the third?
sample.xlsx
0
Comment
Question by:daisypetals313
2 Comments
 
LVL 10

Accepted Solution

by:
JEaston earned 500 total points
ID: 39744997
The only way I can see to do what you want is to create a named range.  To do this, in Excel, select the data and the headings.  Then in the box which has the cell reference delete the cell reference and type a name e.g. mydata.

When importing to access you can then choose to import Worksheets or Named Ranges.  Select named ranges, then in the list pick the range you created above.  Then on the next screen tick first row contains headings.
0
 

Author Closing Comment

by:daisypetals313
ID: 39746212
Thanks!  Quick and easy solution and did what I needed.
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Drop Down List with Unique/Distinct Values (Part II - ComboBox or ListBox and Data Validation List Bonus!) David Miller (dlmille) Intro This article focuses on delivering unique, sorted lists to list objects (e.g., ComboBox, ListBox) and Dat…
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;…
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
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…

707 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

13 Experts available now in Live!

Get 1:1 Help Now