View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
Jeff S.[_2_] Jeff S.[_2_] is offline
external usenet poster
 
Posts: 6
Default Using copy and destination formatting

I am using the following code to copy cells from page to page.
I would like them to match "Home Page" formatting. How can I do this?

If .Cells(r, 7) = 2 Then
Set cophyp = .Cells(r, 4)
With Worksheets("Home Page")
Set DestCell = .Cells(.Rows.Count, "G").End(xlUp).Offset(1, 0)
cophyp.Copy Destination:=DestCell
End With
End If

Thx, Jeff