Consulting

Results 1 to 8 of 8

Thread: Solved: Cells format

  1. #1

    Solved: Cells format

    Hi,

    I need a quick help. I need to change format of selected cells. At that moment cells have text format dd-mm-yy hh-mm-ss and I need to convert them to date format dd-mmm-yyyy.

    Thanks in advance

    szczepan

  2. #2
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    Just select them, qand goto Format>Cells>Custom and enter that format
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  3. #3
    This combination I now. but when I do this of format of cell/cells changes but dates in the cell are still the same ex. 30-04-08 12:53:22

  4. #4
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    Sounds like they aren't real dates.

    Select the colum, goto Data>Text To Columns, select Delimited, then Finish.
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  5. #5
    Thanks for help

  6. #6
    Administrator
    VP-Knowledge Base
    VBAX Grand Master mdmackillop's Avatar
    Joined
    May 2004
    Location
    Scotland
    Posts
    14,489
    Location
    Don't forget to mark the thread as solved using the Thread Tools dropdown.
    MVP (Excel 2008-2010)

    Post a workbook with sample data and layout if you want a quicker solution.


    To help indent your macros try Smart Indent

    Please remember to mark threads 'Solved'

  7. #7
    You can select the column, then go to Data > Text To Columns option, then select Delimited, then Finish.

  8. #8
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    Quote Originally Posted by rangudu_2008
    You can select the column, then go to Data > Text To Columns option, then select Delimited, then Finish.
    Do you mean in the way that I told him over a day ago?
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •