mrNeedHelpNow
New Member
- Joined
- Jul 20, 2018
- Messages
- 1
Hello dear MrExcel community,
I have stumbled upon a problem that for me is really hard to resolve.
Problem is that I have a file in .txt format, after I open it with excel I need to get columns with it with Text To Columns option.
The thing is, fixed width needs to be selected and then you have to manually insert column breaks on certain characters.
The length is over 1600 characters, so manually doing this wont help.
I would need a script or something similar.
I have a mapping according to where this needs to be done:
For example:
1st column =
[TABLE="width: 280"]
<colgroup><col><col><col></colgroup><tbody>[TR]
[TD]Position from char[/TD]
[TD]Position to char[/TD]
[TD]field length char[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]8[/TD]
[TD]8
[/TD]
[/TR]
</tbody>[/TABLE]
and so on.
can this be done with a script ?
Thanks,
Your friend who needs help
I have stumbled upon a problem that for me is really hard to resolve.
Problem is that I have a file in .txt format, after I open it with excel I need to get columns with it with Text To Columns option.
The thing is, fixed width needs to be selected and then you have to manually insert column breaks on certain characters.
The length is over 1600 characters, so manually doing this wont help.
I would need a script or something similar.
I have a mapping according to where this needs to be done:
For example:
1st column =
[TABLE="width: 280"]
<colgroup><col><col><col></colgroup><tbody>[TR]
[TD]Position from char[/TD]
[TD]Position to char[/TD]
[TD]field length char[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]8[/TD]
[TD]8
[/TD]
[/TR]
</tbody>[/TABLE]
and so on.
can this be done with a script ?
Thanks,
Your friend who needs help