Writing rule in ms excel using vb

Closed
trainhr1 Posts 4 Registration date Thursday 7 February 2013 Status Member Last seen 7 February 2013 - 7 Feb 2013 à 05:47
rizvisa1 Posts 4478 Registration date Thursday 28 January 2010 Status Contributor Last seen 5 May 2022 - 7 Feb 2013 à 17:41
Hello,

my question is...i'm having huge customer list mails in the format

******@***.es.us

******@***.es.in

******@***.net.us

******@***.us

******@***.net.us

******@***.es.in

******@***.net.en

.
.
.
etc......


from that table i want to filter only the mails which are in below format

******@***.net.us

please help me with macro


Related:

3 responses

rizvisa1 Posts 4478 Registration date Thursday 28 January 2010 Status Contributor Last seen 5 May 2022 766
7 Feb 2013 à 05:55
why not apply filter only ?
trainhr1 Posts 4 Registration date Thursday 7 February 2013 Status Member Last seen 7 February 2013
7 Feb 2013 à 06:07
if we apply filter only specific extension like ******@***.net.us will obtain....bt this sheet is combination of diff extensions like

******@***.net.us
******@***.ed.us
******@***.net.sp

i want to retrieve all with this format
rizvisa1 Posts 4478 Registration date Thursday 28 January 2010 Status Contributor Last seen 5 May 2022 766
7 Feb 2013 à 07:05
why filter condition "End With" .net.us wont work ?
trainhr1 Posts 4 Registration date Thursday 7 February 2013 Status Member Last seen 7 February 2013
7 Feb 2013 à 07:14
if i apply that it retrieves only mails with .net.us extension.......but not other like

.net.in
.net.sp
.in.us
.
.
.
etc.....

i want the entire format
(.net.in
.net.sp
.in.us) to be retrieved .........i want macro to filter mails with double dot extension leaving single dot.
rizvisa1 Posts 4478 Registration date Thursday 28 January 2010 Status Contributor Last seen 5 May 2022 766
7 Feb 2013 à 07:20
use this for filter
*@*.*.*
trainhr1 Posts 4 Registration date Thursday 7 February 2013 Status Member Last seen 7 February 2013
7 Feb 2013 à 07:25
can i use that stmt while writing macro program.........

plz provide me macro program for that.....because we had thousands of excel sheets
rizvisa1 Posts 4478 Registration date Thursday 28 January 2010 Status Contributor Last seen 5 May 2022 766
7 Feb 2013 à 17:41
open excel
start macro recorder
apply filter
stop macro recorder

you have your macro