LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
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
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Automatically match destination formatting? Nuttysmallbar Excel Discussion (Misc queries) 3 September 30th 09 09:04 PM
How do I copy borders without erasing other destination formats? RuudS Excel Discussion (Misc queries) 0 April 11th 09 08:59 AM
.Copy Destination:= << Forget when PasteValues is desired Jim May Excel Discussion (Misc queries) 1 August 12th 07 07:34 PM
Destination formatting 2000? Mex Excel Discussion (Misc queries) 6 February 14th 07 03:43 PM
VBA .copy destination jerredjohnson Excel Discussion (Misc queries) 2 July 18th 06 11:18 PM


All times are GMT +1. The time now is 03:35 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"