N
noah
I am programing VBA code to add the current month and year to separat
columns. I need one column to display the current year, and another t
display the current month in text format. EXAMPLE: May, June, July....
I set this up:
For i = 1 To 5000
Cells(i, 14).Value = DateTime.Month(Now())
Cells(i, 15).Value = DateTime.Year(Now())
Next i
It works great. But my month field is displayed by number.
EXAMPLE: 5, 6, 7....
Does anyone know how I can change this code to display the full text o
month?
Thanks
columns. I need one column to display the current year, and another t
display the current month in text format. EXAMPLE: May, June, July....
I set this up:
For i = 1 To 5000
Cells(i, 14).Value = DateTime.Month(Now())
Cells(i, 15).Value = DateTime.Year(Now())
Next i
It works great. But my month field is displayed by number.
EXAMPLE: 5, 6, 7....
Does anyone know how I can change this code to display the full text o
month?
Thanks