CONNECTING TO AN EXCEL TABLE FOR USE IN ARCCATALOG AND ARCMAP (READ ONLY ACCESS) FOR PRE-9.2
To connect to an Excel table so you can use it in ArcCatalog and ArcMap, follow these instructions:
- Close ArcCatalog before starting any of this.
- In your Excel table highlight the rows/columns you want in your table, including the field names. This is done so you can possibly have more than one table within an Excel document.
- From Worksheet Menu Bar, choose Insert > Name > Define. Give it a name.
- Click OK and Save your document.
- Open your system Control Panel and choose Administrative Tools > Data Sources (ODBC)
- On User DSN tab, click Add…
- Highlight Driver do Microsoft Excel Driver (*.xls) and click Finish.
- Fill in the Data Source Name with any name you wish. It doesn’t have to be the name of the xls file you are working with.
- Click Select Workbook…
- Browse and select your Excel document.
- In ODBC Microsoft Excel Setup window, click OK.
- In ODBC Data Source Administrator, click OK.
- Start ArcCatalog.
- In the catalog tree, click Database Connections.
- Double-click Add OLE DB Connection.
- Highlight Microsoft OLE DB Provider for ODBC Drivers. Click Next >>
- In Use data source name click the down arrow. You should find the name you set in step 8. Choose it.
- Click Test Connection to see if things are working OK.
- Click OK. A new entry under Database Connections should be listed by the name of OLE DB Connection.
- Open OLE DB Connection (or you may rename it first).
- There should be a table listed by the name you assigned in Step 3 above.
No comments:
Post a Comment