|
We start our information loop on object one and then increment
through each object in turn. We know when we've reached the end
because every object has to have a type and if we don't get one
back then we've gone past the last object.
theInfo = ""
i = 1
Do
theType = theDoc.GetInfo(i, "Type")
If theType = "" Then Exit Do
theActive = theDoc.GetInfo(i, "Active")
theInfo = theInfo & "ID " & i &
" "
theInfo = theInfo & "Type " & theType
& " "
theInfo = theInfo & "Active " & theActive
& vbCrLf
i = i + 1
Loop
|