Thread
:
Date format
View Single Post
#
2
Posted to microsoft.public.excel.programming
Charles
external usenet poster
Posts: 1
Date format
marwan hefnawy
Try something like this.
Sub my_date()
Dim MyDate
Dim mydat
MyDate = DateSerial(2004, 7, 30)
mydat = Format(MyDate, "mmmm-yyyy")
MsgBox mydat
End Sub
HTH
Charles
---
Message posted from
http://www.ExcelForum.com/
Reply With Quote
Charles
View Public Profile
Find all posts by Charles