Hi,
I want from each cells in column A:
A1: 30-Jan-2011
A2: 11-Oct-2010
A3: 12-Jun-2011
A4: 01-Aug-2011
extract Month. It's like:
B1: =MONTH(A1)
B2: =MONTH(A2)
B3: =MONTH(A3)
B4: =MONTH(A4)
Now I need to write macro to do it.
I have some draft but need to modify:
Please help
PvK
I want from each cells in column A:
A1: 30-Jan-2011
A2: 11-Oct-2010
A3: 12-Jun-2011
A4: 01-Aug-2011
extract Month. It's like:
B1: =MONTH(A1)
B2: =MONTH(A2)
B3: =MONTH(A3)
B4: =MONTH(A4)
Now I need to write macro to do it.
I have some draft but need to modify:
Code:
With Range("B1")
.FormulaArray = "=Month(A1)"
End With
Please help
PvK