See if it helps Sub Macro1() Sheets(1).UsedRange.Copy Sheets(2).Select Range("a1").Select ActiveSheet.Paste Columns("B:B").Select On Error GoTo abc Selection.SpecialCells(xlCellTypeBlanks).Select Selection.EntireRow.Delete
abc: Exit Sub End Sub On Mon, Dec 13, 2010 at 3:37 AM, robert peloquin <bobde...@yahoo.com> wrote: > Is there a way to? > If B2 thru B8 is complete with all information then Delete info and send to > Sheet 2. > With B2 thru B8 now empty then more everything up. Keeping everything > together. > Same thing with rest of info. For example if B18 thru B24 is Incomplete and > B10 thru B16 is complete then Delete and send to Sheet2 then move everything > up. > By putting the code in a command button? Once clicked will update form? But > don't know how to write the code. > Please see attached file. > Thanks in Advance!!! > Bob and Richard > > -- > > ---------------------------------------------------------------------------------- > 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/pages/discussexcelcom/160307843985936?v=wall&ref=ts > -- *Regards* * * *Ashish Koul* *akoul*.*blogspot*.com <http://akoul.blogspot.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/pages/discussexcelcom/160307843985936?v=wall&ref=ts