copying AS IS

Joined
Feb 20, 2007
Messages
5
Reaction score
0
hi
how do i copy a range of a sheet to the same range of another sheet AS IS (with formatting and row/column dimensions) using vba?

thanks
 
i've resolved it by:
Code:
Worksheets("SheetX").Cells.Copy
 With Worksheets("SheetY")
 .Cells.PasteSpecial xlValues
 .Cells.PasteSpecial xlFormats
 End With
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top