I'm a beginner in using vba code and I need a statement function to make it move to a new columns with a new starting cell output when the row offset of the first columns=1048567 to continue the processing the vba code
If sq(lUser_1, 2) & "" <> sqq(lUser_2) Then
'we found a new combination, output to screen
Range(sStartingCellOutput).Offset(lRowOffset).Resize(, 3).Value = Array(sq(lUser_1, 2), sqq(lUser_2), rTopic.Value)
'increment the counter
lRowOffset = lRowOffset + 1
End If