+ Reply to Thread
Results 1 to 2 of 2

Excel date format convert to string format

  1. #1
    man
    Guest

    Excel date format convert to string format

    I have this problem
    I would like to change a column format from (m.d.yyyy <== date format) to
    (m.d.yyyy <== string format)

    Any method I can use ?

    thanks in advance

  2. #2
    Gary''s Student
    Guest

    RE: Excel date format convert to string format

    Enter this macro:

    Sub gsnu()
    Dim s As String
    For Each r In Selection
    s = r.Value
    r.Clear
    r.NumberFormat = "@"
    r.Value = s
    Next
    End Sub

    Then select the cells to be converted and run the macro.
    --
    Gary's Student


    "man" wrote:

    > I have this problem
    > I would like to change a column format from (m.d.yyyy <== date format) to
    > (m.d.yyyy <== string format)
    >
    > Any method I can use ?
    >
    > thanks in advance


+ 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