Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Importing / Linking / April 2005

Tip: Looking for answers? Try searching our database.

Converting Info in Word to Access

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
faxylady - 10 Apr 2005 03:49 GMT
I have a collection of email addresses listed in Microsoft Word that I want
to convert to an Access table.  The addresses are in linear form separated by
commas.  How would I export them to Access?
John Nurick - 10 Apr 2005 06:33 GMT
I'm not sure just what your list consists of. Is it just a succcession
of email addresses separated by commas, e.g.

    j.doe@xyz.zzz.com, p.roe@zzz.com, a.hoe@rrr.org ...

or is it something like this:
    John Doe, j.doe@xyz.zzz.com
   Patricia Roe, p.roe@zzz.com
   Andrew Hoe, a.hoe@rrr.org

or something else? Is it in a Word table, or just in ordinary
paragraphs?

The general idea is to use Word's search-and-replace features to arrange
the list so that there's paragraph (in Word terms) for each address,
with any other fields in the paragraph separated by commas or tab
characters (i.e. as in my second example above).

If the list is in a Word table, use Table|Convert to text to convert it
to ordinary paragraphs. If there are any commas in the data, use tabs to
as separators.

Then delete everything in the document except list, and save it as plain
text without linebreaks. The result should be a file that Access can
import (File|Get External Data).

>I have a collection of email addresses listed in Microsoft Word that I want
>to convert to an Access table.  The addresses are in linear form separated by
>commas.  How would I export them to Access?

--
John Nurick [Microsoft Access MVP]

Please respond in the newgroup and not by email.
faxylady - 10 Apr 2005 13:05 GMT
Thank you.  That was a great answer.  I have one set of email addresses like
your first example and a new set with the first and last name separated by
commas, then the email address, as in the second example.  Do I still need to
use tab between them?

> I'm not sure just what your list consists of. Is it just a succcession
> of email addresses separated by commas, e.g.
[quoted text clipped - 30 lines]
>
> Please respond in the newgroup and not by email.
John Nurick - 10 Apr 2005 18:17 GMT
Either this
    John Doe, j.doe@xyz.zzz.com
    Patricia Roe, p.roe@zzz.com
or this
    John, Doe, j.doe@xyz.zzz.com
    Patricia, Roe, p.roe@zzz.com
will import happily, the first into two fields, the second into three.

Where things get complicated is if you have commas actually in the data,
as in these examples which most English-speaking humans can parse but
which computers find difficult:
    Peter, Paul and Mary, ppm@xxx.com
    Sue, Grabbit & Runne, Attorneys at Law, xxx@yyy.com

For these you need either to use tabs to separate the fields
    Peter, Paul and Mary<tab>ppm@xxx.com
or else enclose text fields in quote marks
    "Peter, Paul and Mary", ppm@xxx.com

>Thank you.  That was a great answer.  I have one set of email addresses like
>your first example and a new set with the first and last name separated by
[quoted text clipped - 35 lines]
>>
>> Please respond in the newgroup and not by email.

--
John Nurick [Microsoft Access MVP]

Please respond in the newgroup and not by email.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.