hopefully we keep it in the group, all that offsite handling is ok but it goes against the collaboration effort of EE
Main Topics
Browse All TopicsThis is regarding writing the Information from the text file to Excel sheet . The information in text file is like
518 Torque Intervention type ......
and of course there are many such rows
The problem is that when i write to Excel sheet it shows only 518 in First cells and similar information in first cell of rest of rows. If i adjust manually the column width in first cell of each row ,i can see the full line(information).This is 1 problem.
The 2nd problem i am facing is that information gets written to 1 cell only, while i want '518' to be in first cell,'Torque intervention type to be in second cell and so on.Also i want to fill the color in say 4th cell of
Excel sheet. Also Please provide me ur email address so that i can send the files. Also please suggest some Application names.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Mohinder,
For the benefit of everyone else, let me show a portion of the text file you supplied:
18 Torque Intervention Type 100 0 0 0 %
518 Engine Cooling Fan Speed Request 49 0 0 0 %
518 Engine Cooling Fan Speed Request 0 0 100 49 %
No doubt the font on the message board will skew the columns somewhat, but in the text file with a non-proportional font, they are perfectly aligned and it is a number of spaces, rather than a TAB, which separate them.
Mohinder, I got this to divide up into cells pretty easily without any VBA. Here is what I did:
1. Used File|open, selected 'text files' as the file type and selected the text file to import. This starts the Text Import Wizard.
2. Selected the 'fixed width'radio button, and clicked on 'next'.
3. At the next screen, followed on-screen directions to slightly adjust the lines indicating breaking between cells and clicked 'next'.
4. Clicked on 'finish'.
Job done. Of course, if you needed a VBA solution, you might follow these steps with the Macro Recorder running...
Regards.
Ray
Hi mohinder_pandey ,
No comment has been added lately and it's time to clean up this Topic Area.
If this question isn't revived and no action is taken I will leave a recommendation in the Cleanup topic area that this question is:
- answered by RayBlake
Please leave any comments here within the
next seven days.
** PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER ! **
Paulo
Cleanup Volunteer
Business Accounts
Answer for Membership
by: RayBlakePosted on 2002-11-15 at 01:43:50ID: 7452250
I'd be pleased to have a look if you email me the file(s) at rayblake@yahoo.com
Regards.
Ray