View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
jinx jinx is offline
external usenet poster
 
Posts: 12
Default VBA Copy a range with Formats & Vaues Only

Hi,

Would anyone know how to copy data from one workbook to another and include
the Values and Formatting only ie: not the formulas.

I can copy either the values or the formats but don't seem to be able to
copy both...

Workbooks("a.xls"). _
Worksheets("b"). _
Range("A1:C27").Copy

Workbooks("a.xls"). _
Worksheets("Sheet1").Range("A1:C27").PasteSpecial xlPasteValues

it would be lovely if someone could help with this.

--
Thanks... Jinx