copy sheet to another

Kibbs
04-20-2004, 04:34 AM
I have a sheet that contains imported data and need to copy it to another sheet complete just copy and paste. However if someone changes the column size an error indicating different shape is received.

I have this code and figure there has to be a better way

Sheets("ImportData").Select
ActiveSheet.Cells.Select
Selection.Copy
Sheets("RawData").Select
ActiveSheet.Paste

I would have imported this directly to the Rawdata sheet however other sheets have formula dependancies.

Thanks

Wayne

Jamirez
04-20-2004, 10:39 AM
A faster way... You can change Destination Cell with any kind of range...


Sheets("ImportData").Cells.Copy Sheets("RawData").Cells

Kibbs
04-21-2004, 08:48 AM
Great stuff Jamirez, thanks!!

Wayne

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum