Code:
[TABLE="width: 289"]
<colgroup><col span="3"><col></colgroup><tbody>[TR]
[TD]A Cloumn`[/TD]
[TD]B Column[/TD]
[TD]C Column [/TD]
[TD]D Column[/TD]
[/TR]
[TR]
[TD]Good[/TD]
[TD="align: right"]52[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]4/12/2017 0:00[/TD]
[/TR]
[TR]
[TD]Good[/TD]
[TD="align: right"]53[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]4/12/2017 0:00[/TD]
[/TR]
[TR]
[TD]Good[/TD]
[TD="align: right"]4234[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]4/12/2017 0:00[/TD]
[/TR]
[TR]
[TD]Good[/TD]
[TD="align: right"]5232[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]4/12/2017 0:00[/TD]
[/TR]
[TR]
[TD]Good[/TD]
[TD="align: right"]42342[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]4/12/2017 0:00[/TD]
[/TR]
[TR]
[TD]Good[/TD]
[TD="align: right"]24442[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]3/30/2018 0:00[/TD]
[/TR]
[TR]
[TD]Bad[/TD]
[TD="align: right"]41233[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]4/12/2017 0:00[/TD]
[/TR]
</tbody>[/TABLE]
Hi Guys, I am trying to select two latest and two oldest data in the dataset above.
Is there any easy function for selecting latest and oldest using vba?
Thank you!