Results 1 to 3 of 3

Thread: [2.0] Create an empty excel document

  1. #1

    Thread Starter
    Hyperactive Member drattansingh's Avatar
    Join Date
    Sep 2005
    Posts
    395

    [2.0] Create an empty excel document

    Hi all. I'm trying to create an empty excel document and then add some simple data to it. I'm finding a lot of article about adding data to an excel document but I'm apparently getting some difficulties in creating an empty excel document. After searching for a while I wondered if I could create it as would normally do to a text file e.g.

    File.Create(@"c:\test.xls",1024);


    I tried but when I opened it I got the alert that "cannot read file". Could anyone help me as to how to create an empty excel document?

    Jennifer

  2. #2
    Frenzied Member
    Join Date
    Aug 2005
    Posts
    1,042

    Re: [2.0] Create an empty excel document


  3. #3

    Thread Starter
    Hyperactive Member drattansingh's Avatar
    Join Date
    Sep 2005
    Posts
    395

    Re: [2.0] Create an empty excel document

    Thank you very much. I got it to work! *s*

    Jennifer.

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