Hi Bob it would be great if you could provide sample file, you will get solution from other members as well
On Sun, May 1, 2011 at 5:32 PM, Bob <bobandrich...@comcast.net> wrote: > Saying that the copy and paste area are not the same size. But I > changed to same size and still will not work. Thanks for your help!! > Getting an error here: > Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, > SkipBlanks _ > :=False, Transpose:=FalseOn May 1, 1:49 am, Mahesh parab > <mahes...@gmail.com> wrote: > > Hi Bob > > Try > > > > Sub copydata() > > 'Copy contents from Sheet2 Columns A & B > > Sheets("Sheet2").Select > > Range("B1").End(xlDown).Select > > Temp1 = ActiveCell.Address > > Range("A1" & ":" & Temp1).Select > > Selection.Copy > > 'Paste contents on next available blank row on Sheet1 in Columns A & B > > Sheets("Sheet1").Select > > Range("A1").End(xlDown).Offset(1).Select > > Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, > SkipBlanks _ > > :=False, Transpose:=False > > Application.CutCopyMode = False > > End Sub > > > > > > > > On Sun, May 1, 2011 at 3:06 AM, Bob <bobandrich...@comcast.net> wrote: > > > I'd like some help in Copying and Pasting in different worksheets. > > > Copy contents from Sheet2 Columns A & B > > > Paste contents on next available blank row on Sheet1 in Columns A & B > > > Thanks in advance! > > > > > -- > > > > > > ---------------------------------------------------------------------------------- > > > 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 athttp://www.excel-macros.blogspot.com > > > 4. Learn VBA Macros athttp://www.quickvba.blogspot.com > > > 5. Excel Tips and Tricks athttp://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- Hide quoted text - > > > > - Show quoted text - > > -- > > ---------------------------------------------------------------------------------- > 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 > -- ---------------------------------------------------------------------------------- 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