Jagadeeshbs
Member
Hello all
I have a macro which creates mail with the body of the mail now i want to display month and year in the body of the mail.
as October 2011. what is the VBA code for the same..?
Currently i am using MonthName(DatePart("m", Date) - 1) which gives me only month name, now i want to get the year as well.
I have a macro which creates mail with the body of the mail now i want to display month and year in the body of the mail.
as October 2011. what is the VBA code for the same..?
Currently i am using MonthName(DatePart("m", Date) - 1) which gives me only month name, now i want to get the year as well.