sub essai()
dim cold as range, colf as range, colh as range
set cold = range("D65536").end(xlup).offset(1,0)
set colf = range("F65536").end(xlup).offset(1,0)
set colh = range("H65536").end(xlup).offset(1,0)
if cold > colf then
if cold > colh then
set colf = cold.offset(0,2)
set colh = cold.offset(0,4)
else
set cold = colh.offset(0,-4)
set colf = colh.offset(0,-2)
end if
else
if colf > colh then
set cold = colf.offset(0,-2)
set colh = colf.offset(0,2)
else
set cold = colh.offset(0,-4)
set colf = colh.offset(0,-2)
end if
end if
end sub