MarcMermans
New Member
- Joined
- Dec 4, 2012
- Messages
- 7
Hello All,
I need some help to convert a list of 40000 items to a specific format in Excel.
I have a colum with the following data
LFO1066A
LFTF105
PTXTAA103
They need to be converted to the following format
[TABLE="width: 500"]
<TBODY>[TR]
[TD]A
[/TD]
[TD]B
[/TD]
[TD]C
[/TD]
[TD]D
[/TD]
[TD]E
[/TD]
[TD]F
[/TD]
[/TR]
[TR]
[TD]LFO1066A
[/TD]
[TD]L
[/TD]
[TD]FO
[/TD]
[TD]1066
[/TD]
[TD]/
[/TD]
[TD]A
[/TD]
[/TR]
[TR]
[TD]LFTF105
[/TD]
[TD]L
[/TD]
[TD]FTF
[/TD]
[TD]0105
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]PTXTAA103
[/TD]
[TD]P
[/TD]
[TD]TXTAA
[/TD]
[TD]0103
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</TBODY>[/TABLE]
Column B always a lenght of 1
Column C max lenght of 5
Column D always lenght of 4
Column E / if the last character of Column A is alfanummeric
Columm F the alfanummeric character
Can someone give me some hints to solve the problem with VBA.
Thankx in advance.
I need some help to convert a list of 40000 items to a specific format in Excel.
I have a colum with the following data
LFO1066A
LFTF105
PTXTAA103
They need to be converted to the following format
[TABLE="width: 500"]
<TBODY>[TR]
[TD]A
[/TD]
[TD]B
[/TD]
[TD]C
[/TD]
[TD]D
[/TD]
[TD]E
[/TD]
[TD]F
[/TD]
[/TR]
[TR]
[TD]LFO1066A
[/TD]
[TD]L
[/TD]
[TD]FO
[/TD]
[TD]1066
[/TD]
[TD]/
[/TD]
[TD]A
[/TD]
[/TR]
[TR]
[TD]LFTF105
[/TD]
[TD]L
[/TD]
[TD]FTF
[/TD]
[TD]0105
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]PTXTAA103
[/TD]
[TD]P
[/TD]
[TD]TXTAA
[/TD]
[TD]0103
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</TBODY>[/TABLE]
Column B always a lenght of 1
Column C max lenght of 5
Column D always lenght of 4
Column E / if the last character of Column A is alfanummeric
Columm F the alfanummeric character
Can someone give me some hints to solve the problem with VBA.
Thankx in advance.
Last edited: