+ Reply to Thread
Results 1 to 3 of 3

reformat numbers to dates

  1. #1
    Registered User
    Join Date
    07-12-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    4

    reformat numbers to dates

    can vba be written to reformat date columns to date format: mm/dd/yy. my report returns the date as 1130809 (the first "1" is just an extra number in the report)
    columna A & B.

  2. #2
    Forum Expert
    Join Date
    08-02-2013
    Location
    Québec
    MS-Off Ver
    Excel 2003, 2007, 2013
    Posts
    1,412

    Re: reformat numbers to dates

    Hi,
    One possibility :
    Please Login or Register  to view this content.
    In this case, result will be written in cell right to the activecell containing value "1130809". Adapt as required.
    GC Excel

    If this post helps, then click the star icon (*) in the bottom left-hand corner of my post to Add reputation.

  3. #3
    Forum Contributor
    Join Date
    08-11-2012
    Location
    bengalur
    MS-Off Ver
    Excel 2003, 2007
    Posts
    152

    Re: reformat numbers to dates

    Consider if A1 had the value 1130809 and I will store the result in the A2 Cell

    Below is the code for you requirement
    Please Login or Register  to view this content.
    ______________________________________________________________________________________________________________________________________
    if you feel something has helped please click *

    “I have not failed. I've just found 10,000 ways that won't work.”
    ― Thomas A. Edison

+ 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. Need to reformat mix of text and numbers
    By Sam Williams in forum Excel General
    Replies: 1
    Last Post: 01-26-2013, 10:46 AM
  2. Reformat SSN to add dashes between numbers
    By wheatgrass in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 01-17-2013, 04:39 PM
  3. Reformat dates from portfolio as row headers
    By jasontht in forum Excel General
    Replies: 0
    Last Post: 07-14-2011, 09:06 AM
  4. Reformat and combine data Across Dates (part 2)
    By yunesm in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-05-2011, 07:35 AM
  5. Reformat and combine data Across Dates
    By yunesm in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-02-2011, 02:07 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