1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

read txt files n transfer to xls.

Discussion in 'Visual Basic ( VB )' started by ash_fikree, Mar 21, 2007.

  1. ash_fikree

    ash_fikree New Member

    Joined:
    Mar 21, 2007
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    hi,
    i'm ash n i'm new to VB n such.
    i need help to build a program to read a certain txt file n transfer it into excel (xls) file. i really really appreciates any help that i could get...

    p/s: tried to look into the internet but found nothing...no luck i guess. :D

    thank u in advance.
     
  2. riffz

    riffz New Member

    Joined:
    Apr 7, 2007
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Canada
    I'm not sure whether that can be done, unless the text file was originally created by saving a table through excel as a text file.

    You'll have to use code to read a text file. Something like this:
    Code:
    open textfile1.txt for input as #1
     
  3. suhailforu

    suhailforu New Member

    Joined:
    Nov 1, 2007
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    hi,
    how to read .xls file through c program?
    can anyone pls suggest me??
     

Share This Page