Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default parsing email address into another email string

I'm trying to parse a list of email addresses into a different type of
string as follows:

For example, if I want to use to make a string
that says ",
how would you suggest me to separate the content that is before and
after the '@' character?

Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,934
Default parsing email address into another email string

If your text string is really what you showed us, then you don't need to
parse anything... simply replace the @ symbol in the address with an = sign
and then concatenate the fixed text around it...

"

--
Rick (MVP - Excel)


"ssylee" wrote in message
...
I'm trying to parse a list of email addresses into a different type of
string as follows:

For example, if I want to use to make a string
that says ",
how would you suggest me to separate the content that is before and
after the '@' character?

Thanks.


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,934
Default parsing email address into another email string

Although now that I notice we are in the programming newsgroup, you probably
want this in VBA. The structure is the same except that the function name is
Replace in VB...

="ftm-officers-subscribe-" & Replace(Range("A1").Value, "@", "=") &
"

The above will probably word-wrap in your newsreader, but it is supposed to
be all on one line.

--
Rick (MVP - Excel)


"Rick Rothstein" wrote in message
...
If your text string is really what you showed us, then you don't need to
parse anything... simply replace the @ symbol in the address with an =
sign and then concatenate the fixed text around it...

"

--
Rick (MVP - Excel)


"ssylee" wrote in message
...
I'm trying to parse a list of email addresses into a different type of
string as follows:

For example, if I want to use to make a string
that says ",
how would you suggest me to separate the content that is before and
after the '@' character?

Thanks.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Send data from Excel in email from specific email address Erik Excel Programming 5 December 5th 07 05:09 PM
send wkbk as an email attachment with an email address copied from SueInAtl Excel Discussion (Misc queries) 0 May 21st 07 10:53 PM
can I copy a column of email addresses, paste into email address? Lizizfree New Users to Excel 4 July 20th 06 10:03 PM
Transfer Email addresses from spreadsheet to email address book Beana Excel Discussion (Misc queries) 2 May 30th 06 06:07 PM
Shut off email address from linking to email program? Java Jake Excel Worksheet Functions 6 December 31st 04 04:05 PM


All times are GMT +1. The time now is 07:33 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"