+ Reply to Thread
Results 1 to 11 of 11

Export/import between Excel and textfile

  1. #1
    Forum Contributor Axmed.cm's Avatar
    Join Date
    02-05-2015
    Location
    Somalia
    MS-Off Ver
    2013
    Posts
    231

    Export/import between Excel and textfile

    Hi All


    Could someone help me import/export the attached excel file to/from text file

    I just want the maarks to be exported/imported
    Thank you in advance
    Ahmedee
    Attached Files Attached Files
    GUURE

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Export/import between Excel and textfile

    You need to be clearer and tell us exactly what a .txt output file should look like.
    Do you literally mean a .txt or perhaps a csv?
    I presume, but you don't say, that you want names as well as marks?
    Do you want Total Marks?

    When you say you want to import a file what does the file you want to import look like. Please upload.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Forum Contributor Axmed.cm's Avatar
    Join Date
    02-05-2015
    Location
    Somalia
    MS-Off Ver
    2013
    Posts
    231

    Re: Export/import between Excel and textfile

    Thank you Richard for the reply.
    What I need is a way I can export non formulated data; names and marks (Not percentage and totals) to a textfile (.txt) and allows me to import it later.
    I dont care how the exported data looks like in the textfile.

  4. #4
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,014

    Re: Export/import between Excel and textfile

    .
    .
    Here is a project you can use. Everything is there, you just have to alter the range values to match your existing data orientation.
    It includes two different methods of 'reading and writing' a text file.
    Attached Files Attached Files

  5. #5
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,014

    Re: Export/import between Excel and textfile

    Thank you for the add rep.

    Please mark the thread as solved.

  6. #6
    Forum Contributor Axmed.cm's Avatar
    Join Date
    02-05-2015
    Location
    Somalia
    MS-Off Ver
    2013
    Posts
    231

    Re: Export/import between Excel and textfile

    Dear Logit.
    I am still unable to apply this in my sheet.
    May you please?

  7. #7
    Forum Contributor Axmed.cm's Avatar
    Join Date
    02-05-2015
    Location
    Somalia
    MS-Off Ver
    2013
    Posts
    231

    Re: Export/import between Excel and textfile

    Hello,
    Anyone would help me to do this?

  8. #8
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,882

    Re: Export/import between Excel and textfile

    Try this
    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    < ----- Please click the little star * next to add reputation if my post helps you
    Visit Forum : From Here

  9. #9
    Forum Contributor Axmed.cm's Avatar
    Join Date
    02-05-2015
    Location
    Somalia
    MS-Off Ver
    2013
    Posts
    231

    Re: Export/import between Excel and textfile

    شكرا جزيلا اخى العزيز
    طيب الله اوقاتك

  10. #10
    Forum Contributor Axmed.cm's Avatar
    Join Date
    02-05-2015
    Location
    Somalia
    MS-Off Ver
    2013
    Posts
    231

    Re: Export/import between Excel and textfile

    It is solved

  11. #11
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,882

    Re: Export/import between Excel and textfile

    You're welcome. Glad I can offer some help
    Thanks for Logit as he has posted the original code

+ 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. how can i import data from a textfile into excel 2007 ?
    By sumesh56 in forum Excel General
    Replies: 10
    Last Post: 10-10-2014, 10:57 AM
  2. Implementing TextFile import Delimiter settings on TXT Import VBA Script
    By Canuckle777 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-19-2013, 02:06 PM
  3. [SOLVED] Remove colon on textfile import !
    By Petter120 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-10-2012, 11:27 AM
  4. Import textfile to excel
    By Petter120 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-09-2012, 05:13 PM
  5. [SOLVED] Import textfile to excel and split (spaces) to column !
    By Petter120 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-09-2012, 02:04 PM
  6. Import Textfile WITHOUT showing wizard..
    By Armitage2k in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 09-18-2009, 07:25 AM
  7. Export as Textfile with VBA
    By moondark in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-14-2005, 09:45 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