Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. HOw to read text file that will return the value to excel

HOw to read text file that will return the value to excel

Scheduled Pinned Locked Moved Visual Basic
helptutorial
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    isaii
    wrote on last edited by
    #1

    Hi... can anybody show me how to read text file that will return the desired value to ms excel format. Just to give a bit background that I need to do. I have a source file which is text format. I need to read that text document and return the specific information that I want to my excel format. My excel has already a designed template where I will put the information from the text file in a certain field/row/cell in my excel. Appreciate you kind help and your quick response on this. Many thanks in advance.:-O

    T 1 Reply Last reply
    0
    • I isaii

      Hi... can anybody show me how to read text file that will return the desired value to ms excel format. Just to give a bit background that I need to do. I have a source file which is text format. I need to read that text document and return the specific information that I want to my excel format. My excel has already a designed template where I will put the information from the text file in a certain field/row/cell in my excel. Appreciate you kind help and your quick response on this. Many thanks in advance.:-O

      T Offline
      T Offline
      Tom John
      wrote on last edited by
      #2

      You could cheat... Open Excel and your spreadsheet, start recording a macro, simulate the text you want to add manually in the spreadsheet then look at the code the macro created. This should give you a good starting point for automating Excel, If you get stuck with specifics post here and I'll help out. Hope this helps Tom

      I 1 Reply Last reply
      0
      • T Tom John

        You could cheat... Open Excel and your spreadsheet, start recording a macro, simulate the text you want to add manually in the spreadsheet then look at the code the macro created. This should give you a good starting point for automating Excel, If you get stuck with specifics post here and I'll help out. Hope this helps Tom

        I Offline
        I Offline
        isaii
        wrote on last edited by
        #3

        Hi tom thanks I really appreciate your help. I got your instructions but I still have many questions. Once I recorded the manual filling of the records I want to transfer from text file to excel, whats next? The source file is changing monthly. I mean the positioning of the specific record in the text file is changing. Will this way still work? Thanks.

        I 1 Reply Last reply
        0
        • I isaii

          Hi tom thanks I really appreciate your help. I got your instructions but I still have many questions. Once I recorded the manual filling of the records I want to transfer from text file to excel, whats next? The source file is changing monthly. I mean the positioning of the specific record in the text file is changing. Will this way still work? Thanks.

          I Offline
          I Offline
          isaii
          wrote on last edited by
          #4

          anybody who can help me on this thing! Thanks:confused:

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups