+ Reply to Thread
Results 1 to 3 of 3

Update given date column in general format to date format in VBA

  1. #1
    Registered User
    Join Date
    05-02-2016
    Location
    Pennsylvania
    MS-Off Ver
    2010
    Posts
    2

    Update given date column in general format to date format in VBA

    Hi All,

    I am given a data with a general date format, something like " Feb 25 2016 " , and I want to put it into 02/25/2016. I have tried many things and I ended up creating a new tab with split the date up and changing them to numbers and concatenate them into date format. Please see my attachment. Worksheet "Sheet 1" has given the original dates, and Worksheet "Date Formula" is the formulas that I have created to update the values to the format that I want. I want to put this in VBA so that I don't need to copy the dates into my "Date Formula" every time.

    Thank you in advance.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: Update given date column in general format to date format in VBA

    Give this code a try
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    05-02-2016
    Location
    Pennsylvania
    MS-Off Ver
    2010
    Posts
    2

    Re: Update given date column in general format to date format in VBA

    Thanks, but that didn't work.

+ 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. Replies: 2
    Last Post: 06-02-2015, 08:42 AM
  2. Date Format Of User PC Changes Display format date of Excel File after update
    By waihar in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-24-2014, 03:09 AM
  3. [SOLVED] Converting data general column to UK Date format in Excel 2007 - vba
    By Sailaja A in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-18-2013, 06:59 AM
  4. [SOLVED] Require vba or formula for convert general format data in date format
    By santosh226001 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 09-10-2013, 03:53 AM
  5. Converting DATE format to GENERAL format?
    By timtim in forum Excel General
    Replies: 9
    Last Post: 08-19-2011, 02:38 AM
  6. Change general format to date format
    By mslynng in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-12-2009, 10:51 AM
  7. Replies: 1
    Last Post: 01-26-2006, 10:10 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