R
Romanian37
All,
A co-worker has just had a macro (which has been working for the las
year) crash at the last line of code shown below. The error is 1004 an
suggests that the copy/paste areas are not the same, even though the
obviously are.
Any ideas?
Thanks
Will
Range(Cells(2, 12), Cells(2, 20)).Select
Selection.Copy
Range(Cells(3, 12), Cells(EndRow, 20)).Select
Selection.PasteSpecial Paste:=xlFormulas
Calculate
Range(Cells(3, 12), Cells(EndRow, 20)).Select
Selection.Copy
'breaks here
Selection.PasteSpecial Paste:=xlValue
A co-worker has just had a macro (which has been working for the las
year) crash at the last line of code shown below. The error is 1004 an
suggests that the copy/paste areas are not the same, even though the
obviously are.
Any ideas?
Thanks
Will
Range(Cells(2, 12), Cells(2, 20)).Select
Selection.Copy
Range(Cells(3, 12), Cells(EndRow, 20)).Select
Selection.PasteSpecial Paste:=xlFormulas
Calculate
Range(Cells(3, 12), Cells(EndRow, 20)).Select
Selection.Copy
'breaks here
Selection.PasteSpecial Paste:=xlValue