473,401 Members | 2,146 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,401 software developers and data experts.

A97 - How to preserve eMail addresses pasting contact info from MS Word doc to A97?

MLH
I have a several hundred contact info entries in an MS Word document
(name / addr / phone / email / website) - the usual sort of thing.

I want to put the data into an A97 table. In my Word document, a URL
typed in shows up as a hyperlink. Cutting & pasting preserves the URL
because they're typed in literally. On the other hand, the eMail addrs
show up as the person's name (John Doe) and an eMail type hyperlink
is in place behind the scenes so-to-speak. But cutting and pasting
the eMail token preserves the token only - IE, "John Doe" instead
of JK***@EarthLink.net.

So, I'm at a loss as to how to get it into Access w/o manually
extracting each and every one of the addresses - whew! Any
suggestions?
Nov 13 '05 #1
7 1846
In article <0i********************************@4ax.com>, MLH
<CR**@NorthState.net> Fri, 2 Sep 2005 11:05:38 writes
I have a several hundred contact info entries in an MS Word document
(name / addr / phone / email / website) - the usual sort of thing.

I want to put the data into an A97 table. In my Word document, a URL
typed in shows up as a hyperlink. Cutting & pasting preserves the URL
because they're typed in literally. On the other hand, the eMail addrs
show up as the person's name (John Doe) and an eMail type hyperlink
is in place behind the scenes so-to-speak. But cutting and pasting
the eMail token preserves the token only - IE, "John Doe" instead
of JK***@EarthLink.net.
How exactly have you typed in the name & email?

If I enter

Les D ld@xyz.com

into Word (97) the Les D stays and the next bit turns into a link.
So, I'm at a loss as to how to get it into Access w/o manually
extracting each and every one of the addresses - whew! Any
suggestions?


Try save-as into .txt or export into Excel and see what happens.
--
Les Desser
(The Reply-to address IS valid)
Nov 13 '05 #2
MLH
I copied 'n pasted them into MS Word from
http://www.nahb.org/local_associatio....aspx?state=CA
Just copied the tabular data on that page.

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

How exactly have you typed in the name & email?

If I enter

Les D ld@xyz.com

into Word (97) the Les D stays and the next bit turns into a link.

So, I'm at a loss as to how to get it into Access w/o manually
extracting each and every one of the addresses - whew! Any
suggestions?


Try save-as into .txt or export into Excel and see what happens.


Nov 13 '05 #3
MLH
Well, it didn't help much. I get pretty much the routine thing. Its a
hyperlink (mailto:Na**@domain.com) That's what I see in MS
Word, pointing at and hovering over the link. Still no automated
way of extracting the underlying eMail address from the stuff. I
suppose I could search the HTML for mailto: strings. I was just
hoping for a simpler solution.

Try save-as into .txt or export into Excel and see what happens.


Nov 13 '05 #4
MLH
Dunno why, but pasting the stuff into WordPad SHOWS the actual
eMail addresses enclosed in < > after the token name. That'll work 4
me. I can suck it all into a table easily enough. Thx Les.
Nov 13 '05 #5
In article <ss********************************@4ax.com>, MLH
<CR**@NorthState.net> Fri, 2 Sep 2005 14:54:25 writes
Dunno why, but pasting the stuff into WordPad SHOWS the actual
eMail addresses enclosed in < > after the token name. That'll work 4
me. I can suck it all into a table easily enough. Thx Les.


Pleased you get there somehow.
--
Les Desser
(The Reply-to address IS valid)
Nov 13 '05 #6
MLH
Yeah, me too. Thanks a lot, Les.

I'm working with lots of long strings now, it seems.
I have to import them & parse them constantly. The
A97 memo field type supports only 32768 chars.
What about Dim MyString As String - how big can
a string be that I wanna assign to MyString?

I have done some homework, but I don't understand
my findings. Here's what I read in HELP...

There are two kinds of strings: variable-length and fixed-length
strings.

· A variable-length string can contain up to approximately 2
billion (2^31) characters.
· A fixed-length string can contain 1 to approximately 64K
(2^16) characters.

But it is not at all clear to me how to declare a variable-length
string VS a fixed-length string. Do you know? I think I'll start
a thread dedicated to this Q.
Nov 13 '05 #7
In article <t6********************************@4ax.com>, MLH
<CR**@NorthState.net> Tue, 6 Sep 2005 10:23:09 writes

I'm working with lots of long strings now, it seems.
I have to import them & parse them constantly. The
A97 memo field type supports only 32768 chars.
From Help: A Memo field can store up to 64,000 characters

A memo field is defined in a database. I don't think you can declare it
in VB.
What about Dim MyString As String - how big can
a string be that I wanna assign to MyString?
Again from Help:

String (variable-length) 0 to approximately 2 billion

String (fixed-length) 1 to approximately 65,400
I have done some homework, but I don't understand
my findings. Here's what I read in HELP...

There are two kinds of strings: variable-length and fixed-length
strings.

· A variable-length string can contain up to approximately 2
billion (2^31) characters.
· A fixed-length string can contain 1 to approximately 64K
(2^16) characters.
So we agree :)
But it is not at all clear to me how to declare a variable-length
string VS a fixed-length string. Do you know? I think I'll start
a thread dedicated to this Q.


Just doing a Dim xx as String defines a variable length string.

I forget the syntax of a fixed length string but it is not the default
type.
--
Les Desser
(The Reply-to address IS valid)
Nov 13 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: dave | last post by:
Hello, I'm creating a site that has several contact email addresses. These are vlid addresses, i'm wondering if i can use php to alter these addresses so that spam harvesters can't get them, yet a...
2
by: Hoang | last post by:
anyone know of an algorithm to filter out real email addresses as opposed to computer generated email addresses? I have been going through past email archives in order to find friends email...
2
by: Jim Fox | last post by:
Thought maybe I could do this with a hyperlink field in a table...........but doesn't seem to be working. I basically got a vendors table with all the contact info. One of the fields is EMAIL...
2
by: Doug | last post by:
I'm a little confused by this functionality. It doesn't seem to be behaving like it should. I am using the following regular expression to validate email addresses:...
23
by: codefire | last post by:
Hi, I am trying to get a regexp to validate email addresses but can't get it quite right. The problem is I can't quite find the regexp to deal with ignoring the case james..kirk@fred.com, which...
3
by: g0c | last post by:
hi, how to hide or replace email addresses in php mail function with something like "group" so the email addresses to which email is sent are not visible ? i have : $subs = "email1@dot.com,...
12
by: Adrian | last post by:
Is there a way to know which email addresses viewed my website? Thanks, Adrian.
45
by: Dennis | last post by:
Hi, I have a text file that contents a list of email addresses like this: "foo@yahoo.com" "tom@hotmail.com" "jerry@gmail.com" "tommy@apple.com" I like to
21
by: farisallil | last post by:
Hi I have a table called Info with a column called Email Address in it. I want to create a command button in a form called Customer ,which has the Info table as the Record Source, and I want this...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.