Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
[email protected] andreadambra@gmail.com is offline
external usenet poster
 
Posts: 9
Default How to extract email addresses from a word document or htm web page?

Thanks, On the Italian NG they helped me greatily. Now that I have the
list of e-mails.
Would you please be able to tell me to which societes I can address my
self for sending newsletter to several addresses?
Thanks and Regards

Graham Mayor ha scritto:

I haved already told you repeatedly how to extract email addresses from a
document. This string works fine for English versions of Word. I am
hampered in modifying that for Italian Word by not knowing what the correct
escape character is for the Italian version. Ask your Italian correspondents
in the other group to fix the search string so that it works in your version
i.e. what needs to replace the '\' character.

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org


wrote:
Thanks. On the italian NG someone gave me the right macro to have all
the e-mails in a new document.
The problem is that the macro take all the "linked e-mails" that have
an hyper-link but the e-mail addresses in my document are all in
simple text, without link.
How do I transform these addresses in hyper link addresses?
Thanks!

Graham Mayor ha scritto:

My next step would have been to direct you to the Italian Word
newsgroup -but I see that you have already found that one

--

Graham Mayor - Word MVP

My web site
www.gmayor.com
Word MVP web site http://word.mvps.org


Graham Mayor wrote:
I don't work for Microsoft - nor does anyone else answering queries
here. This is a user peer group. You have the answer at your
fingertips - the commands are explained in Word Help. The
principloes of wildcard searches are explained at
http://www.gmayor.com/replace_using_wildcards.htm

wrote:
It doesn't work...
How can I know what is the Italian thing for "\"?
You work for Microsoft and you know anyone of your colleagues in
Italy that can pass you this information?
Thanks!

Graham Mayor ha scritto:

Doug

I suspect that your macro may run into the same language issues
that the search string is having problems with i.e. the escape
character \ before the @


--

Graham Mayor - Word MVP

My web site
www.gmayor.com
Word MVP web site http://word.mvps.org


Doug Robbins - Word MVP wrote:
Run the following macro when the document containing the email
addresses is the active document
Macro to extract all of the email addresses from a document
Sub CopyAddressesToOtherDoc()

Dim Source As Document, Target As Document, myRange As Range
Set Source = ActiveDocument
Set Target = Documents.Add
Source.Activate
Selection.HomeKey Unit:=wdStory
Selection.Find.ClearFormatting
With Selection.Find
Do While .Execute(findText:="[+0-9A-z._-]{1,}\@[A-z.]{1,}", _
MatchWildcards:=True, Wrap:=wdFindStop, Forward:=True) =
True Set myRange = Selection.Range
Target.Range.InsertAfter myRange & vbCr
Loop
End With
Selection.HomeKey Unit:=wdStory
Target.Activate
End Sub


wrote in message
oups.com...
Hello,
I'm in trouble because I'm trying to find the way to extract
some e-mail addresses that are in a .doc document I have that I
also have in txt format or .htm format
The word document is several pages and he has a lot of e-mail
addresses that I cannot just copy and past with the search tool
because they are too much.
How do I do to extract all the email addresses from the word
document? Thanks!


  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default How to extract email addresses from a word document or htm web page?

Something may have got lost in your translation, but I think what you may be
looking for is
http://www.gmayor.com/MSNews.htm If not then maybe the Italian group can
help out once again?

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org


wrote:
Thanks, On the Italian NG they helped me greatily. Now that I have the
list of e-mails.
Would you please be able to tell me to which societes I can address my
self for sending newsletter to several addresses?
Thanks and Regards

Graham Mayor ha scritto:

I haved already told you repeatedly how to extract email addresses
from a document. This string works fine for English versions of
Word. I am hampered in modifying that for Italian Word by not
knowing what the correct escape character is for the Italian
version. Ask your Italian correspondents in the other group to fix
the search string so that it works in your version i.e. what needs
to replace the '\' character.

--

Graham Mayor - Word MVP

My web site
www.gmayor.com
Word MVP web site http://word.mvps.org


wrote:
Thanks. On the italian NG someone gave me the right macro to have
all the e-mails in a new document.
The problem is that the macro take all the "linked e-mails" that
have an hyper-link but the e-mail addresses in my document are all
in simple text, without link.
How do I transform these addresses in hyper link addresses?
Thanks!

Graham Mayor ha scritto:

My next step would have been to direct you to the Italian Word
newsgroup -but I see that you have already found that one

--

Graham Mayor - Word MVP

My web site
www.gmayor.com
Word MVP web site http://word.mvps.org


Graham Mayor wrote:
I don't work for Microsoft - nor does anyone else answering
queries here. This is a user peer group. You have the answer at
your fingertips - the commands are explained in Word Help. The
principloes of wildcard searches are explained at
http://www.gmayor.com/replace_using_wildcards.htm

wrote:
It doesn't work...
How can I know what is the Italian thing for "\"?
You work for Microsoft and you know anyone of your colleagues in
Italy that can pass you this information?
Thanks!

Graham Mayor ha scritto:

Doug

I suspect that your macro may run into the same language issues
that the search string is having problems with i.e. the escape
character \ before the @


--

Graham Mayor - Word MVP

My web site
www.gmayor.com
Word MVP web site http://word.mvps.org


Doug Robbins - Word MVP wrote:
Run the following macro when the document containing the email
addresses is the active document
Macro to extract all of the email addresses from a document
Sub CopyAddressesToOtherDoc()

Dim Source As Document, Target As Document, myRange As Range
Set Source = ActiveDocument
Set Target = Documents.Add
Source.Activate
Selection.HomeKey Unit:=wdStory
Selection.Find.ClearFormatting
With Selection.Find
Do While .Execute(findText:="[+0-9A-z._-]{1,}\@[A-z.]{1,}",
_ MatchWildcards:=True, Wrap:=wdFindStop,
Forward:=True) = True Set myRange = Selection.Range
Target.Range.InsertAfter myRange & vbCr
Loop
End With
Selection.HomeKey Unit:=wdStory
Target.Activate
End Sub


wrote in message
oups.com...
Hello,
I'm in trouble because I'm trying to find the way to extract
some e-mail addresses that are in a .doc document I have that
I also have in txt format or .htm format
The word document is several pages and he has a lot of e-mail
addresses that I cannot just copy and past with the search
tool because they are too much.
How do I do to extract all the email addresses from the word
document? Thanks!



  #3   Report Post  
Posted to microsoft.public.word.docmanagement
Suzanne S. Barnhill Suzanne S. Barnhill is offline
external usenet poster
 
Posts: 33,624
Default How to extract email addresses from a word document or htm web page?

I think she's asking how to merge to email.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

"Graham Mayor" wrote in message
...
Something may have got lost in your translation, but I think what you may

be
looking for is
http://www.gmayor.com/MSNews.htm If not then maybe the Italian group can
help out once again?

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org


wrote:
Thanks, On the Italian NG they helped me greatily. Now that I have the
list of e-mails.
Would you please be able to tell me to which societes I can address my
self for sending newsletter to several addresses?
Thanks and Regards

Graham Mayor ha scritto:

I haved already told you repeatedly how to extract email addresses
from a document. This string works fine for English versions of
Word. I am hampered in modifying that for Italian Word by not
knowing what the correct escape character is for the Italian
version. Ask your Italian correspondents in the other group to fix
the search string so that it works in your version i.e. what needs
to replace the '\' character.

--

Graham Mayor - Word MVP

My web site
www.gmayor.com
Word MVP web site http://word.mvps.org


wrote:
Thanks. On the italian NG someone gave me the right macro to have
all the e-mails in a new document.
The problem is that the macro take all the "linked e-mails" that
have an hyper-link but the e-mail addresses in my document are all
in simple text, without link.
How do I transform these addresses in hyper link addresses?
Thanks!

Graham Mayor ha scritto:

My next step would have been to direct you to the Italian Word
newsgroup -but I see that you have already found that one

--

Graham Mayor - Word MVP

My web site
www.gmayor.com
Word MVP web site http://word.mvps.org


Graham Mayor wrote:
I don't work for Microsoft - nor does anyone else answering
queries here. This is a user peer group. You have the answer at
your fingertips - the commands are explained in Word Help. The
principloes of wildcard searches are explained at
http://www.gmayor.com/replace_using_wildcards.htm

wrote:
It doesn't work...
How can I know what is the Italian thing for "\"?
You work for Microsoft and you know anyone of your colleagues in
Italy that can pass you this information?
Thanks!

Graham Mayor ha scritto:

Doug

I suspect that your macro may run into the same language issues
that the search string is having problems with i.e. the escape
character \ before the @


--

Graham Mayor - Word MVP

My web site
www.gmayor.com
Word MVP web site http://word.mvps.org


Doug Robbins - Word MVP wrote:
Run the following macro when the document containing the email
addresses is the active document
Macro to extract all of the email addresses from a document
Sub CopyAddressesToOtherDoc()

Dim Source As Document, Target As Document, myRange As Range
Set Source = ActiveDocument
Set Target = Documents.Add
Source.Activate
Selection.HomeKey Unit:=wdStory
Selection.Find.ClearFormatting
With Selection.Find
Do While .Execute(findText:="[+0-9A-z._-]{1,}\@[A-z.]{1,}",
_ MatchWildcards:=True, Wrap:=wdFindStop,
Forward:=True) = True Set myRange = Selection.Range
Target.Range.InsertAfter myRange & vbCr
Loop
End With
Selection.HomeKey Unit:=wdStory
Target.Activate
End Sub


wrote in message
oups.com...
Hello,
I'm in trouble because I'm trying to find the way to extract
some e-mail addresses that are in a .doc document I have that
I also have in txt format or .htm format
The word document is several pages and he has a lot of e-mail
addresses that I cannot just copy and past with the search
tool because they are too much.
How do I do to extract all the email addresses from the word
document? Thanks!




  #4   Report Post  
Posted to microsoft.public.word.docmanagement
[email protected] andreadambra@gmail.com is offline
external usenet poster
 
Posts: 9
Default How to extract email addresses from a word document or htm web page?

I'm asking (i'm a man) which e-mail marketing company is the best.
Thanks

Suzanne S. Barnhill ha scritto:

I think she's asking how to merge to email.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

"Graham Mayor" wrote in message
...
Something may have got lost in your translation, but I think what you may

be
looking for is
http://www.gmayor.com/MSNews.htm If not then maybe the Italian group can
help out once again?

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org


wrote:
Thanks, On the Italian NG they helped me greatily. Now that I have the
list of e-mails.
Would you please be able to tell me to which societes I can address my
self for sending newsletter to several addresses?
Thanks and Regards

Graham Mayor ha scritto:

I haved already told you repeatedly how to extract email addresses
from a document. This string works fine for English versions of
Word. I am hampered in modifying that for Italian Word by not
knowing what the correct escape character is for the Italian
version. Ask your Italian correspondents in the other group to fix
the search string so that it works in your version i.e. what needs
to replace the '\' character.

--

Graham Mayor - Word MVP

My web site
www.gmayor.com
Word MVP web site http://word.mvps.org


wrote:
Thanks. On the italian NG someone gave me the right macro to have
all the e-mails in a new document.
The problem is that the macro take all the "linked e-mails" that
have an hyper-link but the e-mail addresses in my document are all
in simple text, without link.
How do I transform these addresses in hyper link addresses?
Thanks!

Graham Mayor ha scritto:

My next step would have been to direct you to the Italian Word
newsgroup -but I see that you have already found that one

--

Graham Mayor - Word MVP

My web site
www.gmayor.com
Word MVP web site http://word.mvps.org


Graham Mayor wrote:
I don't work for Microsoft - nor does anyone else answering
queries here. This is a user peer group. You have the answer at
your fingertips - the commands are explained in Word Help. The
principloes of wildcard searches are explained at
http://www.gmayor.com/replace_using_wildcards.htm

wrote:
It doesn't work...
How can I know what is the Italian thing for "\"?
You work for Microsoft and you know anyone of your colleagues in
Italy that can pass you this information?
Thanks!

Graham Mayor ha scritto:

Doug

I suspect that your macro may run into the same language issues
that the search string is having problems with i.e. the escape
character \ before the @


--

Graham Mayor - Word MVP

My web site
www.gmayor.com
Word MVP web site http://word.mvps.org


Doug Robbins - Word MVP wrote:
Run the following macro when the document containing the email
addresses is the active document
Macro to extract all of the email addresses from a document
Sub CopyAddressesToOtherDoc()

Dim Source As Document, Target As Document, myRange As Range
Set Source = ActiveDocument
Set Target = Documents.Add
Source.Activate
Selection.HomeKey Unit:=wdStory
Selection.Find.ClearFormatting
With Selection.Find
Do While .Execute(findText:="[+0-9A-z._-]{1,}\@[A-z.]{1,}",
_ MatchWildcards:=True, Wrap:=wdFindStop,
Forward:=True) = True Set myRange = Selection.Range
Target.Range.InsertAfter myRange & vbCr
Loop
End With
Selection.HomeKey Unit:=wdStory
Target.Activate
End Sub


wrote in message
oups.com...
Hello,
I'm in trouble because I'm trying to find the way to extract
some e-mail addresses that are in a .doc document I have that
I also have in txt format or .htm format
The word document is several pages and he has a lot of e-mail
addresses that I cannot just copy and past with the search
tool because they are too much.
How do I do to extract all the email addresses from the word
document? Thanks!




  #5   Report Post  
Posted to microsoft.public.word.docmanagement
Doug Robbins - Word MVP Doug Robbins - Word MVP is offline
external usenet poster
 
Posts: 8,832
Default How to extract email addresses from a word document or htm web page?

This would not be the best forum in which to expect an answer to that. I
suggest that you Google for it.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

wrote in message
ups.com...
I'm asking (i'm a man) which e-mail marketing company is the best.
Thanks

Suzanne S. Barnhill ha scritto:

I think she's asking how to merge to email.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup
so
all may benefit.

"Graham Mayor" wrote in message
...
Something may have got lost in your translation, but I think what you
may

be
looking for is
http://www.gmayor.com/MSNews.htm If not then maybe the Italian group
can
help out once again?

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org


wrote:
Thanks, On the Italian NG they helped me greatily. Now that I have
the
list of e-mails.
Would you please be able to tell me to which societes I can address
my
self for sending newsletter to several addresses?
Thanks and Regards

Graham Mayor ha scritto:

I haved already told you repeatedly how to extract email addresses
from a document. This string works fine for English versions of
Word. I am hampered in modifying that for Italian Word by not
knowing what the correct escape character is for the Italian
version. Ask your Italian correspondents in the other group to fix
the search string so that it works in your version i.e. what needs
to replace the '\' character.

--

Graham Mayor - Word MVP

My web site
www.gmayor.com
Word MVP web site http://word.mvps.org


wrote:
Thanks. On the italian NG someone gave me the right macro to have
all the e-mails in a new document.
The problem is that the macro take all the "linked e-mails" that
have an hyper-link but the e-mail addresses in my document are all
in simple text, without link.
How do I transform these addresses in hyper link addresses?
Thanks!

Graham Mayor ha scritto:

My next step would have been to direct you to the Italian Word
newsgroup -but I see that you have already found that one

--

Graham Mayor - Word MVP

My web site
www.gmayor.com
Word MVP web site http://word.mvps.org


Graham Mayor wrote:
I don't work for Microsoft - nor does anyone else answering
queries here. This is a user peer group. You have the answer at
your fingertips - the commands are explained in Word Help. The
principloes of wildcard searches are explained at
http://www.gmayor.com/replace_using_wildcards.htm

wrote:
It doesn't work...
How can I know what is the Italian thing for "\"?
You work for Microsoft and you know anyone of your colleagues in
Italy that can pass you this information?
Thanks!

Graham Mayor ha scritto:

Doug

I suspect that your macro may run into the same language issues
that the search string is having problems with i.e. the escape
character \ before the @


--

Graham Mayor - Word MVP

My web site
www.gmayor.com
Word MVP web site http://word.mvps.org


Doug Robbins - Word MVP wrote:
Run the following macro when the document containing the email
addresses is the active document
Macro to extract all of the email addresses from a document
Sub CopyAddressesToOtherDoc()

Dim Source As Document, Target As Document, myRange As Range
Set Source = ActiveDocument
Set Target = Documents.Add
Source.Activate
Selection.HomeKey Unit:=wdStory
Selection.Find.ClearFormatting
With Selection.Find
Do While .Execute(findText:="[+0-9A-z._-]{1,}\@[A-z.]{1,}",
_ MatchWildcards:=True, Wrap:=wdFindStop,
Forward:=True) = True Set myRange = Selection.Range
Target.Range.InsertAfter myRange & vbCr
Loop
End With
Selection.HomeKey Unit:=wdStory
Target.Activate
End Sub


wrote in message
oups.com...
Hello,
I'm in trouble because I'm trying to find the way to extract
some e-mail addresses that are in a .doc document I have that
I also have in txt format or .htm format
The word document is several pages and he has a lot of e-mail
addresses that I cannot just copy and past with the search
tool because they are too much.
How do I do to extract all the email addresses from the word
document? Thanks!







Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
take yet another lesson from wordperfect "reveal codes" wordperfect is superior Microsoft Word Help 5 May 11th 09 07:58 PM
Ending page numbering Joe McGuire Microsoft Word Help 7 October 24th 06 06:45 AM
Macro for Letter Settings Help Renee Cabets New Users 7 May 25th 06 10:50 PM
page number positioning and format tinaa Page Layout 3 February 4th 06 12:38 AM
How do I extract email addresses from a word document? voss1111 Microsoft Word Help 1 August 1st 05 03:48 PM


All times are GMT +1. The time now is 11:55 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"