First, Thank you for your quick reply and trying to help me solve this.
When I ran that it did split the data between 2 sheets which would be excellent. However I am not sure what it used to split the data. There are still even and odds on both sheets. I will post the results below.
Just to make sure I explained correctly in column E I want to split the odd numbers to a new sheet. This is how the number looks 19-1
1-1. The numbers will always be in this format and the same number of characters. The red number is the number that determines if it is even or odd.
Here is how the list was split between the sheets.
Sheet 1
A B C D E F G
[TABLE="width: 448"]
<colgroup><col width="64" span="7" style="width:48pt"> </colgroup><tbody>[TR]
[TD="class: xl63, width: 64"]Material[/TD]
[TD="class: xl63, width: 64"]Size[/TD]
[TD="class: xl63, width: 64"]VT[/TD]
[TD="class: xl63, width: 64"]Stor[/TD]
[TD="class: xl63, width: 64"]Location[/TD]
[TD="class: xl63, width: 64"]Qty[/TD]
[TD="class: xl63, width: 64"]unit[/TD]
[/TR]
[TR]
[TD="class: xl63"]5986815[/TD]
[TD="class: xl63"]750[/TD]
[TD="class: xl63"]VT[/TD]
[TD="class: xl63"]400[/TD]
[TD="class: xl63"]19-11-2[/TD]
[TD="class: xl63"]8[/TD]
[TD="class: xl63"]CS[/TD]
[/TR]
[TR]
[TD="class: xl63"]2836015[/TD]
[TD="class: xl63"]750[/TD]
[TD="class: xl63"]VT[/TD]
[TD="class: xl63"]400[/TD]
[TD="class: xl63"]19-11-3[/TD]
[TD="class: xl63"]9[/TD]
[TD="class: xl63"]CS[/TD]
[/TR]
[TR]
[TD="class: xl63"]1113410[/TD]
[TD="class: xl63"]1.75[/TD]
[TD="class: xl63"]6[/TD]
[TD="class: xl63"]400[/TD]
[TD="class: xl63"]19-12-2[/TD]
[TD="class: xl63"]3[/TD]
[TD="class: xl63"]CS[/TD]
[/TR]
[TR]
[TD="class: xl63"]5553015[/TD]
[TD="class: xl63"]750[/TD]
[TD="class: xl63"]VT[/TD]
[TD="class: xl63"]400[/TD]
[TD="class: xl63"]19-13-1[/TD]
[TD="class: xl63"]5[/TD]
[TD="class: xl63"]CS[/TD]
[/TR]
[TR]
[TD="class: xl63"]6250815[/TD]
[TD="class: xl63"]750[/TD]
[TD="class: xl63"]VT[/TD]
[TD="class: xl63"]400[/TD]
[TD="class: xl63"]19-13-2[/TD]
[TD="class: xl63"]4[/TD]
[TD="class: xl63"]CS[/TD]
[/TR]
[TR]
[TD="class: xl63"]10050648[/TD]
[TD="class: xl63"]750[/TD]
[TD="class: xl63"]VT[/TD]
[TD="class: xl63"]400[/TD]
[TD="class: xl63"]19-14-3[/TD]
[TD="class: xl63"]7[/TD]
[TD="class: xl63"]CS[/TD]
[/TR]
</tbody>[/TABLE]
And here is what went to sheet 2
A B C D E F G
[TABLE="width: 448"]
<colgroup><col width="64" span="7" style="width:48pt"> </colgroup><tbody>[TR]
[TD="class: xl65, width: 64"]Material[/TD]
[TD="class: xl65, width: 64"]Size[/TD]
[TD="class: xl65, width: 64"]VT[/TD]
[TD="class: xl65, width: 64"]Stor[/TD]
[TD="class: xl65, width: 64"]Location[/TD]
[TD="class: xl65, width: 64"]Qty[/TD]
[TD="class: xl65, width: 64"]unit[/TD]
[/TR]
[TR]
[TD="align: right"]10001796[/TD]
[TD="align: right"]3[/TD]
[TD]VT[/TD]
[TD="align: right"]400[/TD]
[TD]19-14-4[/TD]
[TD="align: right"]4[/TD]
[TD]CS[/TD]
[/TR]
[TR]
[TD="align: right"]2197115[/TD]
[TD="align: right"]750[/TD]
[TD="align: right"]12[/TD]
[TD="align: right"]400[/TD]
[TD]19-14-2[/TD]
[TD="align: right"]4[/TD]
[TD]CS[/TD]
[/TR]
[TR]
[TD="align: right"]262710[/TD]
[TD="align: right"]1.75[/TD]
[TD="align: right"]6[/TD]
[TD="align: right"]400[/TD]
[TD]19-14-1[/TD]
[TD="align: right"]5[/TD]
[TD]CS[/TD]
[/TR]
[TR]
[TD="align: right"]673815[/TD]
[TD="align: right"]750[/TD]
[TD="align: right"]12[/TD]
[TD="align: right"]400[/TD]
[TD]19-13-4[/TD]
[TD="align: right"]7[/TD]
[TD]CS[/TD]
[/TR]
[TR]
[TD="align: right"]703510[/TD]
[TD="align: right"]1.75[/TD]
[TD="align: right"]6[/TD]
[TD="align: right"]400[/TD]
[TD]19-13-3[/TD]
[TD="align: right"]7[/TD]
[TD]CS[/TD]
[/TR]
[TR]
[TD="align: right"]7117326[/TD]
[TD="align: right"]375[/TD]
[TD="align: right"]12[/TD]
[TD="align: right"]400[/TD]
[TD]19-12-4[/TD]
[TD="align: right"]9[/TD]
[TD]CS[/TD]
[/TR]
[TR]
[TD="align: right"]395915[/TD]
[TD="align: right"]750[/TD]
[TD="align: right"]12[/TD]
[TD="align: right"]400[/TD]
[TD]19-12-3[/TD]
[TD="align: right"]9[/TD]
[TD]CS[/TD]
[/TR]
[TR]
[TD="align: right"]1589714[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]12[/TD]
[TD="align: right"]400[/TD]
[TD]19-12-1[/TD]
[TD="align: right"]5[/TD]
[TD]CS[/TD]
[/TR]
[TR]
[TD="align: right"]6548715[/TD]
[TD="align: right"]750[/TD]
[TD="align: right"]12[/TD]
[TD="align: right"]400[/TD]
[TD]19-11-4[/TD]
[TD="align: right"]8[/TD]
[TD]CS[/TD]
[/TR]
[TR]
[TD="align: right"]7317515[/TD]
[TD="align: right"]750[/TD]
[TD]VT[/TD]
[TD="align: right"]400[/TD]
[TD]19-11-1[/TD]
[TD="align: right"]5[/TD]
[TD]CS[/TD]
[/TR]
</tbody>[/TABLE]
Again, thank you for your time
try this:
Code:
Option Explicit
Sub EvenOdd()
Dim s1 As Worksheet, s2 As Worksheet
Set s1 = Sheets("Sheet1")
Set s2 = Sheets("Sheet2")
s1.Range("A1:G1").Copy s2.Range("A1")
Dim lr As Long, i As Long, x As Variant, lr2 As Long
lr = s1.Range("A" & Rows.Count).End(xlUp).Row
For i = lr To 2 Step -1
lr2 = s2.Range("A" & Rows.Count).End(xlUp).Row
x = Mid(s1.Range("A" & i), 5, 1)
If x Mod 2 Then
s1.Range("A" & i).EntireRow.Copy
s2.Range("A" & lr2 + 1).PasteSpecial xlPasteValues
s1.Range("A" & i).EntireRow.Delete
End If
Next i
End Sub