|
ED
|
not used
|
RT
|
avaliable
|
Adds an existing archive variable ("ArchiveVariable" object) to the filter. Thus, the data of the variable will be returned after the filtering.
Sub zenOn_AddArchiveVariable(ByRef zArchive As Archive) 'Declarations Dim zArFilter As ArchiveFilter Dim i As Integer 'Initialize zArFilter by creating a new archive filter Set zArFilter = zArchive.ArchiveFilters.CreateArchiveFilter 'Every archive variable within the collection... For i = 0 To zArchive.ArchiveVariables.Count - 1 '... will be added to the archive filter zArFilter.AddArchiveVariable zArchive.ArchiveVariables.Item(i) 'Output the name of the added variable Debug.Print "Variable """ & zArchive.ArchiveVariables.Item(i).Name & """ added!" Next i End Sub
ArchiveFilter, ArchiveVariable