m_vishal_c
Board Regular
- Joined
- Dec 7, 2016
- Messages
- 209
- Office Version
- 365
- 2016
- Platform
- Windows
hi I have 2 Excel files. 1 Source and 2nd Destination. There are some columns in Source file like
[TABLE="width: 403"]
<tbody>[TR]
[TD]Sr No[/TD]
[TD]Name[/TD]
[TD]Address[/TD]
[TD]Contact no[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Abc[/TD]
[TD]xxxx[/TD]
[TD]123[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Xyz[/TD]
[TD]xxxx[/TD]
[TD]345[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Mno[/TD]
[TD]xxxx[/TD]
[TD]567[/TD]
[/TR]
</tbody>[/TABLE]
and in Destination there are below fields
[TABLE="width: 75"]
<tbody>[TR]
[TD][TABLE="width: 98"]
<tbody>[TR]
[TD]A1 Sr No[/TD]
[/TR]
[TR]
[TD]A2 Name[/TD]
[/TR]
[TR]
[TD]A3 Address[/TD]
[/TR]
[TR]
[TD]A4 Contact NO[/TD]
[/TR]
[TR]
[TD]A5 and other stuff[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I need vba code which create new excel file on each row and copy relevant information and save as Name data
if anyone can help then it will be great.
Heaps thanks in advance
[TABLE="width: 403"]
<tbody>[TR]
[TD]Sr No[/TD]
[TD]Name[/TD]
[TD]Address[/TD]
[TD]Contact no[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Abc[/TD]
[TD]xxxx[/TD]
[TD]123[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Xyz[/TD]
[TD]xxxx[/TD]
[TD]345[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Mno[/TD]
[TD]xxxx[/TD]
[TD]567[/TD]
[/TR]
</tbody>[/TABLE]
and in Destination there are below fields
[TABLE="width: 75"]
<tbody>[TR]
[TD][TABLE="width: 98"]
<tbody>[TR]
[TD]A1 Sr No[/TD]
[/TR]
[TR]
[TD]A2 Name[/TD]
[/TR]
[TR]
[TD]A3 Address[/TD]
[/TR]
[TR]
[TD]A4 Contact NO[/TD]
[/TR]
[TR]
[TD]A5 and other stuff[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I need vba code which create new excel file on each row and copy relevant information and save as Name data
if anyone can help then it will be great.
Heaps thanks in advance