burakorhan23
New Member
- Joined
- Apr 29, 2018
- Messages
- 13
Hello mrexcel family,
I'm new one for this forum and I want to need your help. I want to find dublicate value's last rows and unique values then I want to write "use this row" second row with macro code. After that I will use this code in some userform design.
For Example Data is :
[TABLE="width: 64"]
<colgroup><col width="64" style="width:48pt"> </colgroup><tbody>[TR]
[TD="width: 64, align: right"]1[/TD]
[/TR]
[TR]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD="align: right"]3[/TD]
[/TR]
[TR]
[TD="align: right"]4[/TD]
[/TR]
[TR]
[TD="align: right"]5[/TD]
[/TR]
[TR]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD="align: right"]3[/TD]
[/TR]
[TR]
[TD="align: right"]6[/TD]
[/TR]
[TR]
[TD="align: right"]7[/TD]
[/TR]
[TR]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD="align: right"]10
[/TD]
[/TR]
</tbody>[/TABLE]
After Macro using data should be :
[TABLE="width: 193"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD="align: right"]1[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]2[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]3[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]4[/TD]
[TD]use this row[/TD]
[/TR]
[TR]
[TD="align: right"]5[/TD]
[TD]use this row[/TD]
[/TR]
[TR]
[TD="align: right"]2[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]2[/TD]
[TD]use this row[/TD]
[/TR]
[TR]
[TD="align: right"]3[/TD]
[TD]use this row[/TD]
[/TR]
[TR]
[TD="align: right"]6[/TD]
[TD]use this row[/TD]
[/TR]
[TR]
[TD="align: right"]7[/TD]
[TD]use this row[/TD]
[/TR]
[TR]
[TD="align: right"]1[/TD]
[TD]use this row[/TD]
[/TR]
[TR]
[TD="align: right"]10[/TD]
[TD]use this row[/TD]
[/TR]
</tbody>[/TABLE]
I'm new one for this forum and I want to need your help. I want to find dublicate value's last rows and unique values then I want to write "use this row" second row with macro code. After that I will use this code in some userform design.
For Example Data is :
[TABLE="width: 64"]
<colgroup><col width="64" style="width:48pt"> </colgroup><tbody>[TR]
[TD="width: 64, align: right"]1[/TD]
[/TR]
[TR]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD="align: right"]3[/TD]
[/TR]
[TR]
[TD="align: right"]4[/TD]
[/TR]
[TR]
[TD="align: right"]5[/TD]
[/TR]
[TR]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD="align: right"]3[/TD]
[/TR]
[TR]
[TD="align: right"]6[/TD]
[/TR]
[TR]
[TD="align: right"]7[/TD]
[/TR]
[TR]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD="align: right"]10
[/TD]
[/TR]
</tbody>[/TABLE]
After Macro using data should be :
[TABLE="width: 193"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD="align: right"]1[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]2[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]3[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]4[/TD]
[TD]use this row[/TD]
[/TR]
[TR]
[TD="align: right"]5[/TD]
[TD]use this row[/TD]
[/TR]
[TR]
[TD="align: right"]2[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]2[/TD]
[TD]use this row[/TD]
[/TR]
[TR]
[TD="align: right"]3[/TD]
[TD]use this row[/TD]
[/TR]
[TR]
[TD="align: right"]6[/TD]
[TD]use this row[/TD]
[/TR]
[TR]
[TD="align: right"]7[/TD]
[TD]use this row[/TD]
[/TR]
[TR]
[TD="align: right"]1[/TD]
[TD]use this row[/TD]
[/TR]
[TR]
[TD="align: right"]10[/TD]
[TD]use this row[/TD]
[/TR]
</tbody>[/TABLE]