PslHistoryItems.Item
Item returns an entry contained in the PslHistoryItems collection. The item is indicated by its index (1,...) or a date. Item is the standard function, so the name can be omitted.
Syntax
Expression.Item (Index as Variant )as PslHistoryItem
Expression Object of type PslHistoryItems
Index The index of the task. The first task has the index 1. Index can also be a DATE object. Then the function returns the last history before this date.
Example
Sub HandleTransString(t As PslTransString)
Dim d As Date
d = DateSerial(2008, 11, 10) + TimeSerial(12, 0, 0)
Dim item As PslHistoryItem
Set item = t.History(d)
If Not item Is Nothing Then
PSL.Output "At " & CStr(d) & " the text was " _
& """" & item.Text & """"
End If
End Sub