Newbie Date function

hi all, i have to fill out date at a cell on a worksheet with 30 sheets. the first sheet at a cell is filled with a date, the second sheet should be filled with the day after. I should have a macro to do that.
the first sheet at the cell A(1,1) with 01.11.2012
the second sheet at the cell A(1,1) with 02.11.2012
and so on
thanks for helping

The following code will

The following code will simply do as you require.
But will error if you do not have 30 sheets :)

Sub date_sheets()

Dim StartDate As Date

StartDate = DateSerial(2012, 11, 1)

For x = 1 To 30

With Sheets(x).Cells(1, 1)
.Value = StartDate + x - 1
.NumberFormat = "dd.mm.yyyy"
End With

Next x

End Sub

thanks, it works fine.

thanks, it works fine.