+ Reply to Thread
Results 1 to 2 of 2

Excel macro

  1. #1
    Nishant
    Guest

    Excel macro

    can somebody help me in writing a macro that changes the date format in
    a specified selection of cells. I want date to be changed from YYYYMMDD
    to MM/DD/YYYY format and paste special on the same cells.


  2. #2
    Niek Otten
    Guest

    Re: Excel macro

    Sub Macro1()
    Selection.NumberFormat = "mm/dd/yyyy"
    End Sub

    --
    Kind regards,

    Niek Otten

    "Nishant" <[email protected]> wrote in message
    news:[email protected]...
    > can somebody help me in writing a macro that changes the date format in
    > a specified selection of cells. I want date to be changed from YYYYMMDD
    > to MM/DD/YYYY format and paste special on the same cells.
    >




+ 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