+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Member Indian's Avatar
    Join Date
    Aug 2004
    Location
    Hyderabad,India
    Posts
    242

    Can I acess Excel file using a C Program ?

    Hi ..
    Can I acess Excel file using a C Program i.e. can I retriece the data in a excel sheet using C language ?
    if yes than how and if no than what are the other options for me..

    thanks alot in anticipation..

  2. #2
    Not Really a Member
    Join Date
    Oct 2001
    Posts
    27,897
    I'm sure you can, just not sure how
    Its easy in VB, so I'm sure you can do it in C
    Helicopters don't fly; they vibrate so much and make so much noise that the earth rejects them.

  3. #3
    Perfetc Member VHockey86's Avatar
    Join Date
    Jan 2003
    Location
    Maryland Suburbia
    Posts
    4,334
    Well... excel files are basically a crapload of hex and some other random encoded data... so parsing it in and figurign out what is contained in the file would be about impossible (without some sort of a library).

    What exactly are you trying to do with it? Just read data from it?

  4. #4
    Member Indian's Avatar
    Join Date
    Aug 2004
    Location
    Hyderabad,India
    Posts
    242
    well actualy I am lookign to get the data from Excel file into C program and than I will work on that data i.e I will use that data in the program..it is not possible to get the data in other format say in text file

  5. #5
    Perfetc Member VHockey86's Avatar
    Join Date
    Jan 2003
    Location
    Maryland Suburbia
    Posts
    4,334
    You can save excel files to a tab-delimited text format... but im not sure if thats what you're looking for, since it still involves excel resaving it.

    Newer versions of excel can also save to a "XML spreadsheet", which is plain-text but formatted with tags... so you'd have to come up with an algorithm to process the XML to whatever data structure you are using with C
    Last edited by VHockey86; March 25th, 2005 at 03:08 PM.

Quick Reply Quick Reply

If you are already a member, please login above.

What planet do we live on?

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. SCSI/IDE command aborted
    By swordfish in forum Multimedia and Audio
    Replies: 3
    Last Post: August 3rd, 2003, 05:18 PM
  2. Need a program to change Zone file to keep up with Dynamic IP
    By Ritalin Kid in forum Networking and Internet
    Replies: 9
    Last Post: January 7th, 2003, 05:25 PM
  3. how can my program save a html file in my HDD
    By tranghoang in forum Webmastering and Programming
    Replies: 0
    Last Post: November 22nd, 2002, 07:15 AM
  4. North Korea Says It Has a Program on Nuclear Arms
    By Theophylact in forum IMO Community
    Replies: 19
    Last Post: October 18th, 2002, 09:54 AM
  5. Opening a file w/ another program?
    By ben-the-slacker in forum General Tech Discussion
    Replies: 2
    Last Post: June 21st, 2002, 10:24 PM

Posting Permissions

  • You may post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Copyright 2014 All Enthusiast, Inc