+ Reply to Thread
Results 1 to 5 of 5

Extract specific columns from text file and export to another text file

  1. #1
    Forum Contributor
    Join Date
    11-24-2016
    Location
    Libya
    MS-Off Ver
    2010
    Posts
    246

    Extract specific columns from text file and export to another text file

    Hello guys
    there is a text file with some columns and want to extract two columns "latDms" and "lngDms" separated by semi-colon
    This is an example : 51ー07'56,47" *** 3ー19'13,77"
    And then format the results like that in the exported text file 51,07.5647N;3,19.1377E

    Thank you for help
    Attached Files Attached Files

  2. #2
    Forum Expert Tinbendr's Avatar
    Join Date
    06-26-2012
    Location
    USA
    MS-Off Ver
    Office 2010
    Posts
    2,121

    Re: Extract specific columns from text file and export to another text file

    I exported the data to the worksheet as you didn't state where the output should be.
    Please Login or Register  to view this content.
    David
    (*) Reputation points appreciated.

  3. #3
    Forum Contributor
    Join Date
    11-24-2016
    Location
    Libya
    MS-Off Ver
    2010
    Posts
    246

    Re: Extract specific columns from text file and export to another text file

    thanks a lot tinbendr. It works great but I need the results to be exported to another text file

  4. #4
    Forum Expert Tinbendr's Avatar
    Join Date
    06-26-2012
    Location
    USA
    MS-Off Ver
    Office 2010
    Posts
    2,121

    Re: Extract specific columns from text file and export to another text file

    Outputs to sheet and to "output.txt"
    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    11-24-2016
    Location
    Libya
    MS-Off Ver
    2010
    Posts
    246

    Re: Extract specific columns from text file and export to another text file

    thank you very much. It works like charm
    you're a champion

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Exporting Text file without inverted Commas in Text File after Export.
    By Muzaffar Iqbal in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-09-2017, 09:15 AM
  2. Extract specific text from Text file
    By pvsvprasad in forum Excel Programming / VBA / Macros
    Replies: 23
    Last Post: 08-22-2016, 04:34 AM
  3. [SOLVED] Export specific range to text file and import the text file if needed
    By YasserKhalil in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-06-2015, 07:38 AM
  4. Macro to export specific range of data to text file for each worksheet
    By sonofamonkey10 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-30-2013, 05:43 PM
  5. Replies: 1
    Last Post: 02-23-2013, 08:36 AM
  6. Replies: 0
    Last Post: 10-29-2008, 06:21 PM
  7. Extract specific text from cell to save file
    By SOS in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 06-25-2008, 03:06 PM

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