+ Reply to Thread
Results 1 to 4 of 4

Convert Date to String/Text

  1. #1
    Registered User
    Join Date
    09-12-2017
    Location
    FLORIDA, USA
    MS-Off Ver
    2016
    Posts
    18

    Post Convert Date to String/Text

    Hello,

    Having terrible time trying to extract the month from a date, say, 21Sep17. Can't locate the right worksheet or VBA function to do this.
    They all seem to want to go the other way - i.e. text to date. Anybody know an easy way to do this?

    Edited Remark: Sorry, forgot to mention - I can use the Custom Format dialogue box in Excel and choose "mmm" for the format,
    but the results are still a date with only the month showing in the cell. When I try to get that month into a text variable, I still end
    up with a date, not a text string.

    Thanks,

    newbieobjectcoder
    Last edited by newbieobjectcoder; 09-23-2017 at 05:39 PM.

  2. #2
    Forum Expert leelnich's Avatar
    Join Date
    03-20-2017
    Location
    Delaware, USA
    MS-Off Ver
    Office 2016
    Posts
    2,807

    Re: Convert Date to String/Text

    Hi @newbieobjectcoder, try this (with a date in A2):
    Please Login or Register  to view this content.
    ...and if you want the 3-letter abbreviation:
    Please Login or Register  to view this content.
    Clicking the Add Reputation star below helpful posts is a great way to show your appreciation.
    Please mark your threads as SOLVED upon conclusion (Thread Tools above Post # 1). - Lee

  3. #3
    Registered User
    Join Date
    09-12-2017
    Location
    FLORIDA, USA
    MS-Off Ver
    2016
    Posts
    18

    Re: Convert Date to String/Text

    Spot on and SO simple! Got all twisted up in other so-called solutions and wasted much time.

    Thanks to leelnich

    newbieobjectcoder

  4. #4
    Forum Expert leelnich's Avatar
    Join Date
    03-20-2017
    Location
    Delaware, USA
    MS-Off Ver
    Office 2016
    Posts
    2,807

    Re: Convert Date to String/Text

    Happy to help! If complete, please mark your thread as SOLVED (Thread Tools up top). Thanks -Lee

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Convert String or Text to Date
    By biznez in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-19-2016, 02:35 PM
  2. [SOLVED] Convert a text string to a date.
    By AZNewbie in forum Excel General
    Replies: 2
    Last Post: 06-28-2016, 05:49 PM
  3. [SOLVED] Convert text string into date
    By maacmaac in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-20-2016, 01:08 AM
  4. [SOLVED] Convert text string to date
    By maacmaac in forum Excel General
    Replies: 5
    Last Post: 11-29-2015, 08:33 PM
  5. [SOLVED] Convert a Text String Date to Date Serial Number
    By herve73 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-10-2015, 10:53 AM
  6. Convert text string to a date?
    By Aland2929 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-24-2009, 07:57 AM
  7. [SOLVED] Convert text string to date
    By AK in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-01-2006, 02:30 PM

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1