+ Reply to Thread
Results 1 to 5 of 5

Assistance needed (Have to convert string of numbers into dates)

  1. #1
    Registered User
    Join Date
    03-21-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    7

    Assistance needed (Have to convert string of numbers into dates)

    3-21-2013 6-38-39 PM.png


    Enrollment Begin
    20060109
    20060830
    20070110
    20070827
    20080114
    20080527
    20080902

    Anyone able to assist in restructuring the string of numbers into a date. I'm new to macros and this has had me stumped for 2 days. Any help is greatly appreciated.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,446

    Re: Assistance needed (Have to convert string of numbers into dates)

    Select the column of dates.
    Select Text to Columns
    Choose Delimited; Next; Next; Date: YMD; Finish


    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: Assistance needed (Have to convert string of numbers into dates)

    connmtc,

    Welcome to the forum!
    This can be done with a formula, but if it has to be VBA, something like this should work:
    Please Login or Register  to view this content.
    Hope that helps,
    ~tigeravatar

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  4. #4
    Registered User
    Join Date
    03-21-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Assistance needed (Have to convert string of numbers into dates)

    Cheers! That was a lot easier than I would have thought. Thanks a lot!

  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,446

    Re: Assistance needed (Have to convert string of numbers into dates)

    You're welcome. Not sure which approach you opted for ...


    If you are satisfied with the solution(s) provided, please mark your thread as Solved.


    New quick method:
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

    Or you can use this way:

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save


    You may also want to consider thanking those people who helped you by clicking on the little star at the bottom left of their reply to your question.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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