Most efficient code to "flip" a range of values + vs -
Look at PasteSpecial, values & multiply
Start by copying a cell that contains -1
Record a macro
Regards,
Peter T
wrote in message
...
2003/2007
Range("A1").Value = Range("A1").Value * -1
will quickly flip "A1" 9999 to -9999
Let's assume that
Set myRange = Range("A1:A3")
How does one "flip" the values in myRange?
As myRange.Value = myRange.Value * -1 does not work.
TIA EagleOne
|