+ Reply to Thread
Results 1 to 4 of 4

Macro to change date value from one date format to another date format

  1. #1
    Registered User
    Join Date
    09-05-2012
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    7

    Exclamation Macro to change date value from one date format to another date format

    Hi,

    My requirement is to have a generic macro which converts a date value from one date format to another date format.
    date format is not specific. We may have data which may exist in different date formats.
    source date format and target date format may vary.
    Please help.

  2. #2
    Registered User
    Join Date
    01-12-2013
    Location
    Philippines
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Macro to change date value from one date format to another date format

    This requirement is quite easy. you just need to create a macro and let users input the format say =text(a1,"dd-mm-yy")

  3. #3
    Registered User
    Join Date
    09-05-2012
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Macro to change date value from one date format to another date format

    creating a macro is my issue as i don't know macro programming

  4. #4
    Registered User
    Join Date
    01-21-2013
    Location
    Hatfield
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Macro to change date value from one date format to another date format

    Hi,

    If you are new to macros, the easiest way is to record a macro; run through the spreadsheets steps you want to do. Stop recording. Then edit the generated macro code.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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