: : your problem can be handled by using the FOR I counter to increment
: : the Cell to store your result
: :
: :
: :
: : For I = 1 To a
: : If b(I) > 0 Then
: : result = c(I) & " x " & b(I)
: : End If
: : 'Cells(40 + I, 81) = result '**STORE IN YOUR COLUMN
: : Cells(I, 1) = result '**STORE RESULT IN COLUMN A1-
: : Next I
: :
: : OR
: :
: : For I = 1 To a
: : If b(I) > 0 Then
: : result = c(I) & " x " & b(I)
: : End If
: : Cells(40 + d, 81) = result '**STORE IN YOUR COLUMN
: : d = d + 1
: : Next I
: :
: :
: :
:
: Thanks for your reply, you put me back on the right track. I used
: another counter to prevent movint the cell when b is not gteater
: than zero ie. b = 0. The final code is
:
: e = 0
: For i = 1 To a
: If b(i) > 0 Then
: result = c(i) & " x " & b(i)
: Cells(40 + d, 81 + e) = result
: If a = 0 Then e = e + 1
: End If
: Next i
: d = d + 1
: