1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
|
'Inversion signe crédit colonne H à M
Dim plage As Range, cel As Range
Set plage = Range("H2:H" & Range("H" & Rows.Count).End(xlUp).Row)
For Each cel In plage
cel = cel * -1
Next
Set plage = Range("I2:I" & Range("I" & Rows.Count).End(xlUp).Row)
For Each cel In plage
cel = cel * -1
Next
Set plage = Range("J2:J" & Range("J" & Rows.Count).End(xlUp).Row)
For Each cel In plage
cel = cel * -1
Next
Set plage = Range("K2:K" & Range("K" & Rows.Count).End(xlUp).Row)
For Each cel In plage
cel = cel * -1
Next
Set plage = Range("L2:L" & Range("L" & Rows.Count).End(xlUp).Row)
For Each cel In plage
cel = cel * -1
Next
Set plage = Range("M2:M" & Range("M" & Rows.Count).End(xlUp).Row)
For Each cel In plage
cel = cel * -1
Next |
Partager