Tech ARP Forums

Go Back   Tech ARP Forums > Software Discussion > General Software
Register
FAQ Members List Calendar Arcade Mark Forums Read

Google Web www.techarp.com forums.techarp.com

General Software This is the forum for general discussions about software.

Reply
 
LinkBack Thread Tools
Old 17th Jun 2004, 04:35 PM   #1 (permalink)
Just Started
 
miracleplasma's Avatar
 
Join Date: 27 Dec 2003
Location: Malaysia
Posts: 55
Reputation: 0
miracleplasma is an unknown quantity at this point
Rep Power: 0
Default anyone know how to convert text file into excel file?

I have problem here.Can anyone tell me or give me a sample code of copying a data from text file to excel file?What I mean is that the number of that value has to be in the column and the row in the excel program based on the value that is in the text file.The souce file has to be text file and then send it over to excel program using Visual basic.In shortcut, how to convert the file format of text into excel. Thanks.
miracleplasma is offline   Reply With Quote
SPONSOR

Old 18th Jun 2004, 12:39 AM   #2 (permalink)
Active
 
plasma's Avatar
 
Join Date: 8 Feb 2004
Location: Penang
Posts: 677
Reputation: 58
plasma will become famous soon enough
Rep Power: 6
Default

first convert the text file to a table....

then from excel, insert object..... just try around,.u'll get it
plasma is offline   Reply With Quote
Old 18th Jun 2004, 02:53 AM   #3 (permalink)
Da Boss
 
Join Date: 10 Oct 2002
Location: In front of my ASUS F8V notebook!
Posts: 32,299
Reputation: 3574
Adrian Wong has a reputation beyond reputeAdrian Wong has a reputation beyond reputeAdrian Wong has a reputation beyond reputeAdrian Wong has a reputation beyond reputeAdrian Wong has a reputation beyond reputeAdrian Wong has a reputation beyond reputeAdrian Wong has a reputation beyond reputeAdrian Wong has a reputation beyond reputeAdrian Wong has a reputation beyond reputeAdrian Wong has a reputation beyond reputeAdrian Wong has a reputation beyond repute
Rep Power: 75
Default

I think you can import it using Excel but you must separate the values in the text file by tabs or commas. Give it a shot.
__________________
Dr. Adrian Wong
Tech ARP | Blog @ Tech ARP | The Free Trade Zone


DYKT : The only offshore account I have is at the sand bank?

We need PROGRAMMERS and TECHNICAL WRITERS! Contact us if you are a hot shot programmer or technical writer!

My items for sale : 50x SD Card | Memory Stick PRO | Cyclone Energy Saver | Seiko SS watch | Tiger/Carlsberg beer jugs | Travel Speakers | Motorola V600 | Nokia N90 SOLD! | New Lowepro Mini Trekker AW

Other items for sale @ the FTZ : Zalman CNPS9500 LED @ $20 | Zalman CNPS7700 Cu @ $20 | Zalman CNPS7000 Cu @ $20 | Swarovski bracelet watches | Dell 17" LCD | Hi-Fi speakers | English DIVX movies | HP LaserJet toners! | Office chairs
Adrian Wong is offline   Reply With Quote
Old 18th Jun 2004, 08:26 AM   #4 (permalink)
Just Started
 
miracleplasma's Avatar
 
Join Date: 27 Dec 2003
Location: Malaysia
Posts: 55
Reputation: 0
miracleplasma is an unknown quantity at this point
Rep Power: 0
Default

Quote:
Originally Posted by Adrian Wong
I think you can import it using Excel but you must separate the values in the text file by tabs or commas. Give it a shot.
That is correct.But my problem is that it has to be done using Visual basic where the text file acts as the input file and produce the output in excel program.Thanks for reply.
miracleplasma is offline   Reply With Quote
Old 18th Jun 2004, 08:28 AM   #5 (permalink)
Just Started
 
miracleplasma's Avatar
 
Join Date: 27 Dec 2003
Location: Malaysia
Posts: 55
Reputation: 0
miracleplasma is an unknown quantity at this point
Rep Power: 0
Default

Quote:
Originally Posted by plasma
first convert the text file to a table....

then from excel, insert object..... just try around,.u'll get it
How? From text file to a table?I don't really understand.What is the code of the visual basic for convert into the table?Anyway, thanks a lot.
miracleplasma is offline   Reply With Quote
Old 18th Jun 2004, 09:19 AM   #6 (permalink)
Official Mascot Creator
 
Falcone's Avatar
 
Join Date: 18 Dec 2002
Location: Shanghai, See En
Posts: 3,348
Reputation: 1878
Falcone has a brilliant futureFalcone has a brilliant futureFalcone has a brilliant futureFalcone has a brilliant futureFalcone has a brilliant futureFalcone has a brilliant futureFalcone has a brilliant futureFalcone has a brilliant futureFalcone has a brilliant futureFalcone has a brilliant futureFalcone has a brilliant future
Rep Power: 28
Default

I can't remember my visualbasic, in theory u can use visual basic to edit the text file and convert in to the rite format eg .csv file by just adding comma and it can be open by excel then, or u wanna be creative and convert to xml file. Adding a comma in textfile should be piece of cake.
__________________
I'm a noob, my photos sucks, but if you can live with that...
http://www.pumpkinproject.com/


Flickr
Falcone is offline   Reply With Quote
Old 18th Jun 2004, 01:52 PM   #7 (permalink)
Just Started
 
miracleplasma's Avatar
 
Join Date: 27 Dec 2003
Location: Malaysia
Posts: 55
Reputation: 0
miracleplasma is an unknown quantity at this point
Rep Power: 0
Default

Quote:
Originally Posted by Falcone
I can't remember my visualbasic, in theory u can use visual basic to edit the text file and convert in to the rite format eg .csv file by just adding comma and it can be open by excel then, or u wanna be creative and convert to xml file. Adding a comma in textfile should be piece of cake.
but the problem is that the text file should not be put with comma.So, what can I do.How do u convert text file to .csv format.Can you please teach me?lastly, the visual basic has to be develop.Thanks for the tips.
miracleplasma is offline   Reply With Quote
Old 18th Jun 2004, 10:01 PM   #8 (permalink)
Official Mascot Creator
 
Falcone's Avatar
 
Join Date: 18 Dec 2002
Location: Shanghai, See En
Posts: 3,348
Reputation: 1878
Falcone has a brilliant futureFalcone has a brilliant futureFalcone has a brilliant futureFalcone has a brilliant futureFalcone has a brilliant futureFalcone has a brilliant futureFalcone has a brilliant futureFalcone has a brilliant futureFalcone has a brilliant futureFalcone has a brilliant futureFalcone has a brilliant future
Rep Power: 28
Default

.csv are text files...just that they are formated in way, using either , or tab as column devider....
__________________
I'm a noob, my photos sucks, but if you can live with that...
http://www.pumpkinproject.com/


Flickr
Falcone is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +8. The time now is 03:56 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Copyright © 1998-2009 Tech ARP. All rights reserved.