Veja se isso atende...
Sub PreecheDias()
QtdeDias= Day(Application.WorksheetFunction.EoMonth(Date, 0))
For i = 1 To QtdeDias
ActiveSheet.Cells(i, 1) = DateAdd("d", i, Date - Day(Date))
ActiveSheet.Cells(i, 2) = Format(DateAdd("d", i, Date - Day(Date)), "dddd")
Next i
End Sub
Laennder Alves
Microsoft MVP
Postado : 13/04/2015 4:21 am