Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 361
  • Last Modified:

format month

bearing in mind todays date:

CurrentMonth = Format(Month(Now), "mmm")

evaluates to jan I had hoped it would say Mar

Month now() says 3 which is correct

the format says different.

am in vba

0
PeterBaileyUk
Asked:
PeterBaileyUk
1 Solution
 
Rey Obrero (Capricorn1)Commented:
too much redundancy, just use

CurrentMonth = Format(Now(), "mmm")
0
 
PeterBaileyUkAuthor Commented:
thank you!
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now