re
c'est quand meme domage de devoir utiliser 2 fois la fonction sous ses deux forme pour obtenir la fin
mais bon rien n'est parfait dans ce monde hein!!
1 2 3 4 5 6 7
| Sub IncrementerDate()
With ActiveSheet.Range("b2")
.Value = DateSerial(2015, 2, 1): .NumberFormat = "ddd* dd/mm/yyyy"
NB_JOURS = Day(DateSerial(2015, 2 + 1, 0))
.DataSeries Rowcol:=xlColumns, Type:=xlChronological, Date:=xlDay, stop:=DateSerial(2015, 2, NB_JOURS)
End With
End Sub |
ou
stop:=DateSerial(2015, 3, 0)
heu j'oubliais merci philippe

ta version pour travailler sur la grille excel ,la mienne pour travailler sur une variable tableau nickel...
Partager