Select to view content in your preferred language

Importing .XLSX file into ARCGIS 10.0

3929
2
06-28-2012 10:25 AM
MikeWhite1
Emerging Contributor
Does anyone know how I can Import an excel file containing XY data into ARCGIS 10.0. The excel sheet is excel 2010 and apparently it will only work for excel 2007? I keep getting an error when I do the import "Unable to connect to database". Is there a work around this problem?


Thanks
Tags (2)
0 Kudos
2 Replies
by Anonymous User
Not applicable
Mike,
Please try this download:
Microsft Compatibility Driver for Office 2007, http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=23734. This driver should allow those .xlsx files to be read in ArcMap.
-Charles
0 Kudos
KimOllivier
Honored Contributor
Even if the compatibility extension allows you to open the xlsx file in ArcMap it is not a very good option because all the text fields are 255 chars wide.

If you want to do a nice job, export the spreadsheet to a CSV format, define the field names, types and lengths in a schema.ini file and then load the CSV file.
http://msdn.microsoft.com text file driver
The ArcGIS loader will use the schema.ini file. Another way is to create a table in ArcMap and export it as a txt file. This will populate a schema.ini file which you can edit to point to the CSV file.
0 Kudos