Pressure code problem


Dear All,
i’m writing a code on vba; i have write the codes to get hydrulic paramters (e.g. pressure),
i’m using this code:

 For j = 1 To nodeCount
 nodeAddr.Cells(j).value = EPANetInterface.getNodePressure(j)
 Next j

but the problem is that a 24 simulation, and in this way the risults change only in the same cell and not in the different cell at different time.

any help?