Hi,

use this macros also ... hope help you.


Sub nee()
If ThisWorkbook.Worksheets.Count > 1 Then

Sheets("master").Activate
For i = 2 To ThisWorkbook.Worksheets.Count
Application.DisplayAlerts = False
ThisWorkbook.Worksheets(2).Delete
Application.DisplayAlerts = True
Next
End If

Application.ScreenUpdating = False

n = 2

m = 3

ThisWorkbook.Worksheets.Add(after:=ThisWorkbook.Worksheets(ThisWorkbook.Worksheets.Count)).Name
= "Temp"

For i = 1 To 223

If Sheets("master").Cells(n, 1) = Sheets("master").Cells(m, 1) Then

Sheets("temp").Cells(n, 1) = "Ture"

Else
'Application.DisplayAlerts = False
r = Sheets("master").Cells(n, 1)
'ThisWorkbook.Worksheets(r).Delete
'Application.DisplayAlerts = True
ThisWorkbook.Worksheets.Add(after:=ThisWorkbook.Worksheets(ThisWorkbook.Worksheets.Count)).Name
= r
t = Sheets("master").Cells(n, 1)
Sheets("master").Activate
nb = Sheets("master").UsedRange.Rows.Count
Selection.AutoFilter
    ActiveSheet.Range("A1" & ":" & "M" & nb).AutoFilter Field:=1,
Criteria1:=t
    Range(Selection, Selection.End(xlToRight)).Select
    Range(Selection, Selection.End(xlDown)).Select
    Range("A1").Select
    Range(Selection, Selection.End(xlToRight)).Select
    Range(Selection, Selection.End(xlDown)).Select
    Selection.Copy Sheets(t).Cells.Range("A1")
End If

n = n + 1

m = m + 1

Next
Application.DisplayAlerts = False
ThisWorkbook.Worksheets("temp").Delete
Application.DisplayAlerts = True
Sheets("master").Activate
Selection.AutoFilter
Sheets("master").Cells.Range("A1").Select
MsgBox "Done"
End Sub

Regards
Amresh

On Mon, Aug 27, 2012 at 5:41 PM, Krishnaraddi V. Madolli <
krishnaraddi.mado...@asia.xchanging.com> wrote:

>  Hi Noorain, Thanks a lot.****
>
> ** **
>
> I will change this code as per my requirements.****
>
> ** **
>
> Regards,****
>
> ** **
>
> Krishnaraddi V Madolli.****
>
> Data Analytics Team****
>
> Sedgwick Claims Management Services, Inc.
> Xchanging Towers, SJR iPark, ****
>
> EPIP Area, Whitefield ****
>
> Bangalore - 560 066. India.****
>
> Direct Line: +1.800.920.9657 Extn 1915****
>
> Switchboard: +90-(0)80-30540000 Extn 1915****
>
> Email: krishnaraddi.mado...@asia.xchanging.com ****
>
> krishnaraddi.mado...@sedgwickcms.com****
>
> www.sedgwickcms.com<https://outlook.us.xchanging.com/exchweb/bin/redir.asp?URL=http://www.sedgwickcms.com>|
> *The leader in innovative claims and productivity management solutions*
>
> ** **
>
> Success is never permanent, Failure is never final, so always do not stop
> effort until your victory makes a history.****
>
> *[image:
> http://images.coolchaser.com/themes/t/404137-i311.photobucket.com-albums-kk467-volleycutiegirl-icon.png]
> **Please consider the environment before printing this message***
>
> ** **
>
> *From:* excel-macros@googlegroups.com [mailto:
> excel-macros@googlegroups.com] *On Behalf Of *NOORAIN ANSARI
> *Sent:* 08/27/2012 17:33
>
> *To:* excel-macros@googlegroups.com
> *Subject:* Re: $$Excel-Macros$$ Sheet To WB****
>
>  ** **
>
> Dear Krishan,
>
>
> Please see attached workbook, I have created a compiler, which are
> creating workbook name wise.
>
> Hope it will help to you for your query.
>
> Please revert if it will not help to you.
> I will do it in your data
>
> ****
>
>  On Mon, Aug 27, 2012 at 3:29 PM, Krishnaraddi V. Madolli <
> krishnaraddi.mado...@asia.xchanging.com> wrote:****
>
> "CONFIDENTIALITY NOTICE: This message and any attachment are confidential
> and may also be privileged. If you are not the intended recipient of this
> e-mail you may not copy, forward, disclose or otherwise use it or any part
> of it in any form whatsoever. If you are not the intended recipient please
> telephone or e-mail the sender and delete this message and any attachment
> from your system."****
>
>
>
>
> --
> With Regards,
> Noorain Ansari
> http:// 
> <http://www.noorainansari.com>noorainansari.com<http://www.noorainansari.com>
> http:// 
> <http://www.excelvbaclinic.blogspot.com>excelvbaclinic.com<http://www.excelvbaclinic.blogspot.com>
> ****
>
> ** **
>
> ** **
>
> --
> Join official facebook page of this forum @
> https://www.facebook.com/discussexcel
>
> FORUM RULES (1120+ members already BANNED for violation)
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> will not get quick attention or may not be answered.
>
> 2) Don't post a question in the thread of another member.
>
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
>
> 4) Acknowledge the responses you receive, good or bad.
>
> 5) Cross-promotion of, or links to, forums competitive to this forum in
> signatures are prohibited.
>
> 6) Jobs posting is not allowed.
>
> 7) Sharing copyrighted ebooks/pirated ebooks/their links is not allowed.
>
> NOTE : Don't ever post personal or confidential data in a workbook. Forum
> owners and members are not responsible for any loss.
> ---
> You received this message because you are subscribed to the Google Groups
> "MS EXCEL AND VBA MACROS" group.
> To post to this group, send email to excel-macros@googlegroups.com.
> To unsubscribe from this group, send email to
> excel-macros+unsubscr...@googlegroups.com.
>
>  ****
>
> --
> Join official facebook page of this forum @
> https://www.facebook.com/discussexcel
>
> FORUM RULES (1120+ members already BANNED for violation)
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> will not get quick attention or may not be answered.
>
> 2) Don't post a question in the thread of another member.
>
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
>
> 4) Acknowledge the responses you receive, good or bad.
>
> 5) Cross-promotion of, or links to, forums competitive to this forum in
> signatures are prohibited.
>
> 6) Jobs posting is not allowed.
>
> 7) Sharing copyrighted ebooks/pirated ebooks/their links is not allowed.
>
> NOTE : Don't ever post personal or confidential data in a workbook. Forum
> owners and members are not responsible for any loss.
> ---
> You received this message because you are subscribed to the Google Groups
> "MS EXCEL AND VBA MACROS" group.
> To post to this group, send email to excel-macros@googlegroups.com.
> To unsubscribe from this group, send email to
> excel-macros+unsubscr...@googlegroups.com.
>
>
>

-- 
Join official facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES (1120+ members already BANNED for violation)

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.

2) Don't post a question in the thread of another member.

3) Don't post questions regarding breaking or bypassing any security measure.

4) Acknowledge the responses you receive, good or bad.

5)  Cross-promotion of, or links to, forums competitive to this forum in 
signatures are prohibited. 

6) Jobs posting is not allowed.

7) Sharing copyrighted ebooks/pirated ebooks/their links is not allowed.

NOTE  : Don't ever post personal or confidential data in a workbook. Forum 
owners and members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups "MS 
EXCEL AND VBA MACROS" group.
To post to this group, send email to excel-macros@googlegroups.com.
To unsubscribe from this group, send email to 
excel-macros+unsubscr...@googlegroups.com.


<<image001.png>>

Reply via email to