This one should cater for both Odd & Even sum totals...
Option Explicit
Option Base 1
Const MinA As Integer = 1
Const MaxF As Integer = 50
Sub Sum_Total_New_2()
Dim SumTot As Integer
Dim A As Integer, B As Integer, C As Integer, D As Integer, E As Integer
Dim i As Integer, j As Integer, k As Integer, l As Integer
Dim arr1() As Variant, arr2() As Variant, arr3() As Variant
With Application
.ScreenUpdating = False: .Calculation = xlCalculationManual: .DisplayAlerts = False
End With
Cells.Delete: Cells(1, 1).Select
SumTot = CInt(InputBox("Please enter the desired sum total.", "Combinations.", 0))
If SumTot = 0 Then Exit Sub
For A = MinA To MaxF - 4
For B = A + 1 To MaxF - 3
For C = B + 1 To MaxF - 2
For D = C + 1 To MaxF - 1
For E = D + 1 To MaxF
j = 0: l = 0
arr1 = Array(A, B, C, D, E)
arr2 = Array(A Mod 2 = 0, B Mod 2 = 0, C Mod 2 = 0, D Mod 2 = 0, E Mod 2 = 0)
For i = 1 To 5
j = j + (arr1(i) * -arr2(i))
Next i
If SumTot = j Then
ActiveCell.Value = _
Format(A, "00") & "-" _
& Format(B, "00") & "-" _
& Format(C, "00") & "-" _
& Format(D, "00") & "-" _
& Format(E, "00")
ActiveCell.Offset(1, 0).Select
End If
arr3 = Array(A Mod 2 = 1, B Mod 2 = 1, C Mod 2 = 1, D Mod 2 = 1, E Mod 2 = 1)
For k = 1 To 5
l = l + (arr1(k) * -arr3(k))
Next k
If SumTot = l Then
ActiveCell.Value = _
Format(A, "00") & "-" _
& Format(B, "00") & "-" _
& Format(C, "00") & "-" _
& Format(D, "00") & "-" _
& Format(E, "00")
ActiveCell.Offset(1, 0).Select
End If
Next E
Next D
Next C
Next B
Next A
Cells.EntireColumn.AutoFit: Cells(1, 1).Select
With Application
.DisplayAlerts = True: .Calculation = xlCalculationAutomatic: .ScreenUpdating = True
End With
I hope this helps!