I mostly write macros in word using VBA. A user
needs to enter a date like this one: 070797 and I need it to look like this:
July 07, 1997 on the document. Can you help? Also, are there other ways of
formatting dates? I've tried putting the date in a variable and doing
something like this:
myDate = DTPicker1.value
format(myDate, "mmm, & " " & mid(3, 2 ) & ", " & right(2))
But, this didn't work.
I_Byte 0 Newbie Poster
Paladine 138 Master Poster Team Colleague
I_Byte 0 Newbie Poster
I_Byte 0 Newbie Poster
Dani 4,329 The Queen of DaniWeb Administrator Featured Poster Premium Member
I_Byte 0 Newbie Poster
Paladine 138 Master Poster Team Colleague
Paladine 138 Master Poster Team Colleague
I_Byte 0 Newbie Poster
Paladine 138 Master Poster Team Colleague
Paladine 138 Master Poster Team Colleague
I_Byte 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.