Solved

Exporting data from Excel to Access

Posted on 2012-03-27
13
448 Views
Last Modified: 2012-03-27
I have an excel spreadsheet that I am trying to export to Access. However, it will not export. It tells me that The first row contains some data that cant't be used for valid access field names. In these cases, the wizard will automatically asign valid field names. Then it lets me continue. Unitl I push the finish button.

It tells me that "Tracking" is not a valid name. Make sure that it does not include invalid characters or punctuation and that it is not too long. I dont understand how Tracking is not a valid name. Enclosed is my excel spreadsheet.
CONUS-Shipment-Tracker-03-26-12-.xlsx
0
Comment
Question by:gigifarrow
  • 8
  • 4
13 Comments
 
LVL 75
ID: 37772407
0
 
LVL 29

Expert Comment

by:Randy Downs
ID: 37772409
Your attached file shows as 0 bytes.
0
 
LVL 75
ID: 37772424
FYI ... I'm unable to open the file.  If I change the extension to XLS .. it opens, but with a blank sheet.

mx
0
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 
LVL 75
ID: 37772428
Check EACH field for any special characters, although some will be allowed.  Definitely problematic are parens, slashes, dots ... and a few more.

Also ... be SURE no field names have a Line Feed & Carriage Return ... I just ran into that last week.

And as noted by Helen ... a Space at the beginning of the column name ...

mx
0
 

Author Comment

by:gigifarrow
ID: 37772541
0
 
LVL 75

Accepted Solution

by:
DatabaseMX (Joe Anderson - Microsoft MVP, Access and Data Platform) earned 270 total points
ID: 37772552
There is a Space before Tracking ... remove the space.

mx
0
 
LVL 75
ID: 37772557
Also:

Carrier  (FedEx,UPS, LANDSTAR,ROADWAY,CONWAY…)

No can have parens or dots ...

Check ALL your column names ...

mx
0
 
LVL 75
ID: 37772567
space
0
 
LVL 29

Expert Comment

by:Randy Downs
ID: 37772587
I am not using Office 2007 but I am able to save the 1st sheet as a .csv no problem. It does look like you have an unprintable character (e.g. space) on the end of tracking, so try deleting that.
0
 
LVL 29

Expert Comment

by:Randy Downs
ID: 37772593
Also look for trailing characters on the rest of your 1 word fields.
0
 
LVL 29

Expert Comment

by:Randy Downs
ID: 37772600
Quantity  Destination have a trailing character.
0
 
LVL 75
ID: 37772602
No can have parens or dots ... >> No can have parens or dots OR commas ... etc.

mx
0
 
LVL 75
ID: 37772621
I'm not sure trailing spaces are a problem ... as I think Access automatically drops them off during importing ...

mx
0

Featured Post

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

Introduction The Visual Basic for Applications (VBA) language is at the heart of every application that you write. It is your key to taking Access beyond the world of wizards into a world where anything is possible. This article introduces you to…
It’s the first day of March, the weather is starting to warm up and the excitement of the upcoming St. Patrick’s Day holiday can be felt throughout the world.
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

685 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