Results 1 to 4 of 4
  1. #1
    New Lounger
    Join Date
    Apr 2002
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Capitalize dates (2000)

    Hi.

    I'm picking up a date in several places in a spreadsheet. If I format it <mmmm d, yyyy> I get March 31, 2002. How do I go about formatting it so I get MARCH 31, 2002? (Capitalization is the point here). I've looked in the help (to no avail), and I've tried setting the formatting to <MMMM d, yyyy>, but that doesn't work.

    Any help would be appreciated!

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Capitalize dates (2000)

    I don't think that capitalization is among the formatting options.

    Perhaps you can live with the following:
    Enter a date in a cell, say A1. The format of this cell doesn't matter.
    Put the following formula in another cell:
    =UPPER(TEXT(A1,"mmmm d, yyyy"))

    If you *need* the formatting to be displayed in the cell where the date is entered, you probably need VBA code in the SelectionChange event of the worksheet.

  3. #3
    New Lounger
    Join Date
    Apr 2002
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Capitalize dates (2000)

    Absolutely perfect. Thank you very much!

    Ed.

  4. #4
    Super Moderator WebGenii's Avatar
    Join Date
    Jan 2001
    Location
    Redcliff, Alberta, Canada
    Posts
    4,066
    Thanks
    2
    Thanked 5 Times in 5 Posts

    Re: Capitalize dates (2000)

    If this happens a lot - check out this <!post=post,51219>post<!/post> for some nifty variations on macros to change case.

    Cheers
    [b]Catharine Richardson (WebGenii)
    WebGenii Home Page
    Moderator: Spreadsheets, Other MS Apps, Presentation Apps, Visual Basic for Apps, Windows Mobile

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •