View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
joeeng joeeng is offline
external usenet poster
 
Posts: 54
Default Copy basic format from one cell to another

Thanks for your response. However, I didn't ask that question quite right.
What I really was trying to ask was, is there a way of copying a basic cell
format to another cell without overwriting the conditional format in the
destination cell?

"Gary''s Student" wrote:

Just remove them after the paste:

Sub Macro1()
'
' Macro1 Macro
' Macro recorded 6/4/2009 by James Ravenswood
'

'
Range("A1").Select
Selection.Copy
Range("A2").Select
Selection.PasteSpecial Paste:=xlPasteFormats
Selection.FormatConditions.Delete
End Sub

--
Gary''s Student - gsnu200856


"joeeng" wrote:

Is there a way to copy the basic cell format from one cell to another without
copying the conditional format with it?