codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:
Search Forums:
  Saving Text File as Excel File  bvmittal at 09:04 on Sunday, September 07, 2003
 

Dear Sir,

In one of our VB application , we are generating reports as Ascii text file . We are required to produce this output report in Excel also .

Pl guide me how to go for this .

I can not open text file in Excel as it is , due format disturbence .

Regards
B V Mittal


  Re: Saving Text File as Excel File  Troy Wolf at 22:08 on Sunday, September 07, 2003
 

I didn't give a detailed code example, but provided some tips in this thread:
http://www.codetoad.com/forum/16_22597.asp

You may not know that Excel can natively open CSV files with proper formatting. (Comma-Seperated Values). So if you create a csv text file and give it a .csv extension, Excel can open it and place the values in columns.

CSV text file example:

Bob Smith,(816) 555-1234, bob@aol.com, red
Mary Wilson,(423) 555-7877 mary@hotmail.com, green
Troy Wolf: site expert
SnippetEdit Website Editor


  Re: Saving Text File as Excel File  Elain at 07:18 on Tuesday, November 30, 2010
 

I’m sorry i can't help you! Because the question is so difficult and i'm not good at it!
----------------------------------------------
flash banner|logo maker|flash menu








CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums








Recent Forum Threads
•  Re: Where do I find source code on this site?
•  Re: I need help with date validation
•  Re: hide show function
•  Re: creating a gif.
•  Re: how scan by userjs ?
•  Re: how to show images in grid view using asp.net
•  Re: Running a Javascript from VBA. - another TOUGH use......!
•  Re: about Two functions
•  Re: code for one submit button


Recent Articles
ASP GetTempName
Decode and Encode UTF-8
ASP GetFile
ASP FolderExists
ASP FileExists
ASP OpenTextFile
ASP FilesystemObject
ASP CreateFolder
ASP CreateTextFile
Javascript Get Selected Text


© Copyright codetoad.com 2001-2010