Results 1 to 26 of 26

How to convert exported text date to desired date format with excel vba.

Threaded View

sktneer How to convert exported text... 09-25-2013, 06:22 AM
patel45 Re: How to convert exported... 09-25-2013, 06:27 AM
sktneer Re: How to convert exported... 09-25-2013, 06:32 AM
patel45 Re: How to convert exported... 09-25-2013, 06:53 AM
JOHN H. DAVIS Re: How to convert exported... 09-25-2013, 06:43 AM
sktneer Re: How to convert exported... 09-25-2013, 07:09 AM
JOHN H. DAVIS Re: How to convert exported... 09-25-2013, 07:24 AM
sktneer Re: How to convert exported... 09-25-2013, 07:39 AM
AB33 Re: How to convert exported... 09-25-2013, 09:54 AM
sktneer Re: How to convert exported... 10-01-2013, 07:02 AM
Norie Why don't you import the data... 09-25-2013, 09:58 AM
Norie Re: How to convert exported... 10-01-2013, 07:10 AM
sktneer Re: How to convert exported... 10-01-2013, 08:31 AM
Norie Re: How to convert exported... 10-01-2013, 10:28 AM
sktneer Re: How to convert exported... 10-01-2013, 10:44 AM
Norie Why would you run it a 2nd... 10-02-2013, 10:28 AM
sktneer Re: How to convert exported... 10-02-2013, 10:36 AM
Norie Why are you using the... 10-02-2013, 10:49 AM
sktneer Re: How to convert exported... 10-02-2013, 02:08 PM
Norie Re: How to convert exported... 10-02-2013, 02:13 PM
sktneer Re: How to convert exported... 10-02-2013, 02:49 PM
Norie Re: How to convert exported... 10-02-2013, 02:53 PM
sktneer Re: How to convert exported... 10-03-2013, 01:08 AM
  1. #1
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,655

    How to convert exported text date to desired date format with excel vba.

    Hello ExcelForum Members,

    I am exporting some data form a text file (.txt) to excel sheet. One of the column contains the date like 20130704 (yyyymmdd). When I click on any of cells containing the date values, it shows the general datatype. What I am trying to do is to convert these dates in general data type format to date data type so that I can use these dates in calculations. I want it to be done with the help of vba because the size of exported data varies. So I want to make sure that once the vba code is executed, it converts all the values in that column until the last row.

    Is there any way to do this?
    Any help would be appreciated.
    Thanks in advance.

    sktneer
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Cannot convert date (which is in text format) to date in numeric format
    By geniuspro in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 10-19-2012, 09:21 AM
  2. Formula to convert text to a date in a date format
    By mikeburg in forum Excel General
    Replies: 5
    Last Post: 08-24-2011, 09:15 AM
  3. convert date format to text in all excel files in a folder
    By farrukh in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-31-2011, 01:12 PM
  4. Help: How do I convert a text date into a real date format
    By japorms in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-02-2006, 01:36 PM
  5. Replies: 2
    Last Post: 11-16-2005, 08:25 AM

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