Thanks WGM and to all of you, this now separates the grouping numbers by a blank row perfectly, will use methods on here for other projects / inspection
Code:
Const NumRows As Integer = 1
Const TargetClm As String = "C" ' change to suit
Set rs = CurrentDb.OpenRecordset(sSQL1)
With xlSHT1
intCount = rs.RecordCount
xlSHT1.Cells(3, 3).CopyFromRecordset rs
For r = (.Cells(.Rows.Count, TargetClm).End(xlUp).Row - 1) To 2 Step -1
If .Cells(r, TargetClm).Value <> .Cells(r + 1, TargetClm).Value Then
.Cells(r + 1, TargetClm).Resize(NumRows).EntireRow.Insert
End If
Next r
' intID = 1
' Do While x < intCount
' x = x + 1
' If intID <> .Cells(3 + x, 1).Value Then
' .Cells(3 + x, 1).EntireRow.Insert
' intID = intID + 1
' intCount = intCount + 1
' x = x + 1
' End If
' Loop
intLR = xlSHT1.Cells.Find("*", SearchOrder:=xlByRows, SearchDirection:=xlPrevious).Row
.Cells.EntireColumn.HorizontalAlignment = xlLeft
.Cells(intLR + 2, 3) = "TOTALS:"
.Cells(intLR + 2, 3).Interior.ColorIndex = 15
iWHQty = DSum("StartQty", "tblStock", "[ItemType] Is Not Null")
.Cells(intLR + 2, 7) = iWHQty
.Cells(intLR + 2, 7).Interior.ColorIndex = 15
.Cells(intLR + 2, 8).Interior.ColorIndex = 15
.Cells(intLR + 2, 9).Interior.ColorIndex = 15