Hi Friend i have sheet with the following values my last range is a refenrence.
I need <acronym title="visual basic for applications">vba</acronym> code to find duplicate IF the neighbors values "+1" OR "-1".
Exemple:
<tbody>
[TD="class: xl63"]11[/TD]
[TD="class: xl63, width: 19"]12[/TD]
[TD="class: xl63, width: 19"]14[/TD]
[TD="class: xl63, width: 19"]22[/TD]
[TD="class: xl63, width: 19"]31[/TD]
[TD="class: xl63, width: 19"]47[/TD]
[TD="class: xl63"]06[/TD]
[TD="class: xl63"]13[/TD]
[TD="class: xl63"]28[/TD]
[TD="class: xl63"]29[/TD]
[TD="class: xl63"]42[/TD]
[TD="class: xl63"]43[/TD]
[TD="class: xl63"]21[/TD]
[TD="class: xl63"]23[/TD]
[TD="class: xl63"]27[/TD]
[TD="class: xl63"]28[/TD]
[TD="class: xl63"]33[/TD]
[TD="class: xl63"]48[/TD]
[TD="class: xl63"]01[/TD]
[TD="class: xl63"]05[/TD]
[TD="class: xl63"]11[/TD]
[TD="class: xl63"]20[/TD]
[TD="class: xl63"]22[/TD]
[TD="class: xl63"]30[/TD]
[TD="class: xl63"]16[/TD]
[TD="class: xl63"]18[/TD]
[TD="class: xl63"]24[/TD]
[TD="class: xl63"]29[/TD]
[TD="class: xl63"]36[/TD]
[TD="class: xl63"]44[/TD]
</tbody>
<tbody>
[TD="class: xl65"]16[/TD]
[TD="class: xl65, width: 19"]25[/TD]
[TD="class: xl65, width: 19"]34[/TD]
[TD="class: xl65, width: 19"]41[/TD]
[TD="class: xl65, width: 19"]45[/TD]
[TD="class: xl65, width: 19"]47[/TD]
[TD="class: xl65"]15[/TD]
[TD="class: xl65"]32[/TD]
[TD="class: xl65"]35[/TD]
[TD="class: xl65"]36[/TD]
[TD="class: xl65"]42[/TD]
[TD="class: xl65"]47[/TD]
[TD="class: xl65"]06[/TD]
[TD="class: xl65"]08[/TD]
[TD="class: xl65"]27[/TD]
[TD="class: xl65"]28[/TD]
[TD="class: xl65"]31[/TD]
[TD="class: xl65"]47[/TD]
[TD="class: xl65"]13[/TD]
[TD="class: xl65"]14[/TD]
[TD="class: xl65"]20[/TD]
[TD="class: xl65"]28[/TD]
[TD="class: xl65"]29[/TD]
[TD="class: xl65"]33[/TD]
[TD="class: xl65"]09[/TD]
[TD="class: xl65"]11[/TD]
[TD="class: xl65"]16[/TD]
[TD="class: xl65"]19[/TD]
[TD="class: xl65"]42[/TD]
[TD="class: xl65"]44[/TD]
</tbody>
Sheet 2 Result
<tbody>
[TD="class: xl65"]29[/TD]
[TD="class: xl65"]28[/TD]
[TD="class: xl65"]20[/TD]
</tbody>
<tbody>
[TD="class: xl65"]28[/TD]
[TD="class: xl65"]28[/TD]
[TD="class: xl65"]19
<tbody>
[TD="class: xl65"]28[/TD]
[TD="class: xl65, width: 19"] 33[/TD]
[TD="class: xl65, width: 19"] 48[/TD]
</tbody>
[/TD]
</tbody>
<tbody>
[TD="class: xl65"][/TD]
[TD="class: xl65, width: 19"]47[/TD]
[TD="class: xl65"]29[/TD]
[TD="class: xl65"]33[/TD]
</tbody>Etc...
Thank you for Help!!
I need <acronym title="visual basic for applications">vba</acronym> code to find duplicate IF the neighbors values "+1" OR "-1".
Exemple:
<tbody>
[TD="class: xl63"]11[/TD]
[TD="class: xl63, width: 19"]12[/TD]
[TD="class: xl63, width: 19"]14[/TD]
[TD="class: xl63, width: 19"]22[/TD]
[TD="class: xl63, width: 19"]31[/TD]
[TD="class: xl63, width: 19"]47[/TD]
[TD="class: xl63"]06[/TD]
[TD="class: xl63"]13[/TD]
[TD="class: xl63"]28[/TD]
[TD="class: xl63"]29[/TD]
[TD="class: xl63"]42[/TD]
[TD="class: xl63"]43[/TD]
[TD="class: xl63"]21[/TD]
[TD="class: xl63"]23[/TD]
[TD="class: xl63"]27[/TD]
[TD="class: xl63"]28[/TD]
[TD="class: xl63"]33[/TD]
[TD="class: xl63"]48[/TD]
[TD="class: xl63"]01[/TD]
[TD="class: xl63"]05[/TD]
[TD="class: xl63"]11[/TD]
[TD="class: xl63"]20[/TD]
[TD="class: xl63"]22[/TD]
[TD="class: xl63"]30[/TD]
[TD="class: xl63"]16[/TD]
[TD="class: xl63"]18[/TD]
[TD="class: xl63"]24[/TD]
[TD="class: xl63"]29[/TD]
[TD="class: xl63"]36[/TD]
[TD="class: xl63"]44[/TD]
</tbody>
<tbody>
[TD="class: xl65"]16[/TD]
[TD="class: xl65, width: 19"]25[/TD]
[TD="class: xl65, width: 19"]34[/TD]
[TD="class: xl65, width: 19"]41[/TD]
[TD="class: xl65, width: 19"]45[/TD]
[TD="class: xl65, width: 19"]47[/TD]
[TD="class: xl65"]15[/TD]
[TD="class: xl65"]32[/TD]
[TD="class: xl65"]35[/TD]
[TD="class: xl65"]36[/TD]
[TD="class: xl65"]42[/TD]
[TD="class: xl65"]47[/TD]
[TD="class: xl65"]06[/TD]
[TD="class: xl65"]08[/TD]
[TD="class: xl65"]27[/TD]
[TD="class: xl65"]28[/TD]
[TD="class: xl65"]31[/TD]
[TD="class: xl65"]47[/TD]
[TD="class: xl65"]13[/TD]
[TD="class: xl65"]14[/TD]
[TD="class: xl65"]20[/TD]
[TD="class: xl65"]28[/TD]
[TD="class: xl65"]29[/TD]
[TD="class: xl65"]33[/TD]
[TD="class: xl65"]09[/TD]
[TD="class: xl65"]11[/TD]
[TD="class: xl65"]16[/TD]
[TD="class: xl65"]19[/TD]
[TD="class: xl65"]42[/TD]
[TD="class: xl65"]44[/TD]
</tbody>
Sheet 2 Result
<tbody>
[TD="class: xl65"]29[/TD]
[TD="class: xl65"]28[/TD]
[TD="class: xl65"]20[/TD]
</tbody>
<tbody>
[TD="class: xl65"]28[/TD]
[TD="class: xl65"]28[/TD]
[TD="class: xl65"]19
<tbody>
[TD="class: xl65"]28[/TD]
[TD="class: xl65, width: 19"] 33[/TD]
[TD="class: xl65, width: 19"] 48[/TD]
</tbody>
</tbody>
<tbody>
[TD="class: xl65"][/TD]
[TD="class: xl65, width: 19"]47[/TD]
[TD="class: xl65"]29[/TD]
[TD="class: xl65"]33[/TD]
</tbody>
Thank you for Help!!