Importing from Excel

tstoneh

Board Regular
Joined
Feb 2, 2004
Messages
126
I am trying to import an Excel Spreadsheet into Access and I need to have some fields be text and then some be numeric. For some reason when I go through the process it will not allow me to change the fields to differentiate between text and numeric. I see the box there to do it but it is all greyed out and inaccessable. How do I get to the point where I can specify the fields. What am I missing?
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
If you are trying to import the data directly from Excel to Access, you unfortunately do not have any control on the format of the data coming into Access. Access tries to "figure" it out for itself by looking at the data in those columns and how it is formatted in Excel.

So the first thing to try is properly formatting the data properly in Excel. However, if you have any blanks in a numeric column, I believe Access will turn the field into a Text Field.

A workaround is to export the data from Excel to a text file, then import the text file into Access. It is an extra step, but you at least have control over the format of fields that are imported through a text file.
 
Upvote 0

Forum statistics

Threads
1,221,828
Messages
6,162,213
Members
451,752
Latest member
freddocp

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top