CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 1999
    Posts
    22

    Extract Data from an Excel Sheet and save it in an ASCII File



    How can I extract some data from an excel sheet and save this data in an ASCII file, with a specific format?

  2. #2
    Join Date
    Mar 1999
    Posts
    4

    Re: Extract Data from an Excel Sheet and save it in an ASCII File



    Link excel sheet using createobject/getobject.

    Then u can create ASCII file using Excel commands.



  3. #3
    Join Date
    May 1999
    Location
    Oxford UK
    Posts
    1,459

    Re: Extract Data from an Excel Sheet and save it in an ASCII File



    Hi


    You could also get all the cell values into an Array (or multiple arrays if more than one worksheet) using the Excel object model. You could then simply write the array into any file format you want (I'd go for CSV myself).


    Regards


    Chris Eastwood


    CodeGuru - the website for developers

    http://www.codeguru.com/vb

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured