try this Sub TEST() Rows("2:" & Range("A1").End(xlDown).Row).Copy Sheets("Detailed").Select Sheets("Detailed").Range("A65356").End(xlUp).Offset(1, 0).Select
ActiveSheet.Paste Sheets("Detailed").Range("A1: E" & Sheets("Detailed").Range("A1").End(xlDown).Row).Sort key1:=Sheets("Detailed").Range("a:a"), order1:=xlAscending, Header:=xlYes End Sub On Wed, Jun 8, 2011 at 12:14 AM, kurikkal padinjarappalla < padinjarappa...@gmail.com> wrote: > Dear Experts, > > Is there a way that in the attached file after entering data in the sheets > named 7th June, 8th June, 9th June etc, should be get copy and pasted in > detailed sheet on date wise by activating any command button. > > Thanks in advance. > > Regards, > Kurikkal. > > -- > > ---------------------------------------------------------------------------------- > Some important links for excel users: > 1. Follow us on TWITTER for tips tricks and links : > http://twitter.com/exceldailytip > 2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310 > 3. Excel tutorials at http://www.excel-macros.blogspot.com > 4. Learn VBA Macros at http://www.quickvba.blogspot.com > 5. Excel Tips and Tricks at http://exceldailytip.blogspot.com > > To post to this group, send email to excel-macros@googlegroups.com > > <><><><><><><><><><><><><><><><><><><><><><> > Like our page on facebook , Just follow below link > http://www.facebook.com/discussexcel > -- *Regards* * * *Ashish Koul* *akoul*.*blogspot*.com <http://akoul.blogspot.com/> http://akoul.posterous.com/ *akoul*.wordpress.com <http://akoul.wordpress.com/> My Linkedin Profile <http://in.linkedin.com/pub/ashish-koul/10/400/830> P Before printing, think about the environment. -- ---------------------------------------------------------------------------------- Some important links for excel users: 1. Follow us on TWITTER for tips tricks and links : http://twitter.com/exceldailytip 2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310 3. Excel tutorials at http://www.excel-macros.blogspot.com 4. Learn VBA Macros at http://www.quickvba.blogspot.com 5. Excel Tips and Tricks at http://exceldailytip.blogspot.com To post to this group, send email to excel-macros@googlegroups.com <><><><><><><><><><><><><><><><><><><><><><> Like our page on facebook , Just follow below link http://www.facebook.com/discussexcel