JenniferBabe
Mar 21st, 2007, 11:43 AM
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
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