Sub NumSet()
Sheets("Sheet1").Range("A1").Activate
x = Sheets("Sheet1").Range("A1").value
Col = 1
Do While x > 1
x = x - 1
y = x
For i = 1 To Col
y = x & y
Sheets("Sheet1").Range("A1").Offset(0, Col) = y
Next
Col = Col + 1
Loop
End Sub
Sub test()
Dim x As Long, i As Long
x = Range("A1").Value
For i = 2 To x
For j = 1 To i
Cells(i, j).Value = x - i + 1
Next j
Next i
End Sub