import data from Excel without changing format

J

john

Suppose you are asked to import an Excel file into a
Microsoft Access database. Some of the fields in the
Excel file are formatted as numbers. Without changing any
formats in the Excel file, how would you import all the
data as text fields into Access?

Thanks a lot!
 
K

Ken Snell

Import the spreadsheet into a temporary table. Then use an append query to
copy the records, using the desired formats, into the permanent table.
 
J

Jim/Chris

Ther are a number of ways. First of all are you importing
to an existing table or new? An existing table will keep
the Access field formats.

If importing to a new table here are two options.
Insert a dummy first line of data in the first data row of
excel. Make the fields info alphanumeric. You can delete
this row later with a query or manually.
The second way would be to insert a single quote infront of
all your numeric fields in Excel. The data will be
imported as text.

Good luck

Jim
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top