09.03.2013 Views

Simulator 16 User Guide - PowerWorld

Simulator 16 User Guide - PowerWorld

Simulator 16 User Guide - PowerWorld

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

DisplayMessage "Number of Key Fields: " + Str(lowkeyf) + Str(highkeyf)<br />

' Determine number of objects retrieved<br />

Dim lowobj, highobj As Integer<br />

lowobj = LBound(output(1)(lowkeyf), 1)<br />

highobj = UBound(output(1)(lowkeyf), 1)<br />

DisplayMessage "Number of objects: " + Str(lowobj) + Str(highobj)<br />

For i = lowkeyf To highkeyf<br />

For j = lowobj To highobj<br />

Cells(j + 3, i + 1) = output(1)(i)(j)<br />

Next j<br />

Next i<br />

End With<br />

End With<br />

End If<br />

End If<br />

End Sub<br />

©2011 <strong>PowerWorld</strong> Corporation<br />

1430

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!