conditional formating

M

Miri

how do i copy conditional formating from one cell to other(in code)?
another question: how do i copy cell (or cells) without conditional
formating but with all others(formula, formats, values) (in code)
 
B

Bob Phillips

Range("A1").Copy
Range("B1").PasteSpecial Paste:=xlPasteFormats

and

Range("A1").Copy Range("B1")
Range("B1").FormatConditions(1).Delete


--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my addy)
 

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

Top