[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Cleaning up Excel Sheet before importing to Access

Posted on 2011-02-14
12
Medium Priority
?
272 Views
Last Modified: 2012-05-11
I have an excel sheet that has junk at the top because it's exported from a formatted Crystal Report with titles.  Is there something I can do to strip off the headers before importing it into Access?

When I import to Access, the headers are not consistant and it fouls up the queries.

Thanks,
Craig
0
Comment
Question by:OnsiteSupport
[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
  • 5
  • 3
  • 2
  • +1
12 Comments
 
LVL 33

Expert Comment

by:jppinto
ID: 34890361
You can simple delete those lines, no?
0
 
LVL 120

Expert Comment

by:Rey Obrero (Capricorn1)
ID: 34890368
have you tried importing the excel file into a temp table without the column names?

btw, better if you upload a copy of the excel file and give details what you want to be cleaned.
0
 
LVL 33

Expert Comment

by:jppinto
ID: 34890369
...those ROWS, no?
0
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 

Author Comment

by:OnsiteSupport
ID: 34890391
ippinto....I want this automated as part of an application for anyone to import the data.  I don't want them touching the "raw" spreadsheet.

Thanks
0
 
LVL 120

Expert Comment

by:Rey Obrero (Capricorn1)
ID: 34890439
you can create a copy of the excel file (in codes)
delete the last row in codes
how is the first row be cleaned?
0
 

Author Comment

by:OnsiteSupport
ID: 34890446
Sorry  What do you mean by "In Codes?"
0
 
LVL 120

Accepted Solution

by:
Rey Obrero (Capricorn1) earned 2000 total points
ID: 34890474
in codes > not manually..
0
 

Author Comment

by:OnsiteSupport
ID: 34890517
It was just a bit painful matching column names to real names in the query.  Guess I can't get around that one.

Thanks for the tip
0
 
LVL 101

Expert Comment

by:mlmcc
ID: 34891390
You could export just the data then you should get the fieldnames as the titles

mlmcc
0
 

Author Comment

by:OnsiteSupport
ID: 34891978
The design of the headings in crystal causes the export to jumble the order of columns.
0
 
LVL 101

Expert Comment

by:mlmcc
ID: 34894036
If you choose the data only then the report headings don't get used but the field column names.

mlmcc
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Traditionally, the method to display pictures in Access forms and reports is to first download them from URLs to a folder, record the path in a table and then let the form or report pull the pictures from that folder. But why not let Windows retr…
This article describes how you can use Custom Document Properties to store settings and other information in your workbook so that they will be available the next time you open the workbook.
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.
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…

656 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