[Last conclusion] I found that I value(11)can sometimes copy formulas , but not always. Formulas like sumproductand sumifcannot be copied, but simple arithmetic operations can be copied. This is so strange! I still can’t understand why.
I know that if I only want to copy the values, the fastest way is
Range("A1").Value = Range("A2").Value
If I want to copy formatting and values, the fastest way is
Range("A1").Value(11) = Range("A2").Value(11)
If I want to copy formulas, the fastest way is
Range("A1").Formula = Range("A2").Formula
What if I want to copy the formula and formatting? (I have a lot of formatting in this cell, like conditional formatting, bold, underline, alignment, number display format, border style, etc., Therefore, it is impractical to transfer each of the styles one by one.)
Pingu source
share