Copy Specific Excel Data to Another Worksheet?

@Luecke_Anthony

Basically you need to remove last 2 rows of your datatable. use below code to do that
dt.AsEnumerable.Take(dt.Rows.Count -2).CopyToDataTable

If you get any error on asenumerable function. refere below link

Regards
Roshan

2 Likes