Solved

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

Posted on 2013-12-29
2
310 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
[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 Comments
 
LVL 11

Accepted Solution

by:
John Easton 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

How to get Spreadsheet Compare 2016 working with the 64 bit version of Office 2016
This article describes a serious pitfall that can happen when deleting shapes using VBA.
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

635 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