I wanted to automate this process. Adding nonnumeric character also adds
false records and putting ' is a process. Is there anything else? Is
importing a better option?
You could import the data as done now, but import to a temporary table. Then
use an append query to copy the data to your permanent table where the data
type is correct. Note that this method has the potential of an error if a
phone number might be a "nonnumeric" entry because of a typo, etc.
Otherwise, you could use Automation to open the EXCEL file, read each row
and write each row to your table via recordset. Laborious but would work.

Signature
Ken Snell
<MS ACCESS MVP>
>I wanted to automate this process. Adding nonnumeric character also adds
> false records and putting ' is a process. Is there anything else? Is
[quoted text clipped - 33 lines]
>> > manually
>> > changing it?
Ken Snell (MVP) - 21 Jul 2006 12:55 GMT
Another thought... you could save the EXCEL file as a .csv file, then use
TransferText (with an import specification that defines that field as text)
to import the data from the .csv file to your table. If you want to automate
this, you can do the EXCEL save as via Automation.

Signature
Ken Snell
<MS ACCESS MVP>
> You could import the data as done now, but import to a temporary table.
> Then use an append query to copy the data to your permanent table where
[quoted text clipped - 49 lines]
>>> > manually
>>> > changing it?
Ken Snell (MVP) - 21 Jul 2006 21:54 GMT
And yet one other possibility --
You might be able to use a query to extract the data from the EXCEL
worksheet. I've not used such queries, but the newsgroups contain lots of
examples of queries where a source table is an EXCEL spreadsheet. If that
were to work, you could use a calculated field for the "phone number" data,
and have that calculated field explicitly cast the data as text
(CStr([Fieldname])). If this is of interest, post back and I'll see if I can
scrounge up some examples for the query. This would avoid the need to use
Automation.

Signature
Ken Snell
<MS ACCESS MVP>
> Another thought... you could save the EXCEL file as a .csv file, then use
> TransferText (with an import specification that defines that field as
[quoted text clipped - 54 lines]
>>>> > manually
>>>> > changing it?