Returns a PackageFiles collection of the files
currently in the package.
Syntax
object.Files
The object is an expression that evaluates to a Package
object. The property returns a PackageFiles collection object.
Remarks
The Files property is used to reference
the collection of PackageFile objects which provide information about the files
stored in the current package.
Example
Dim Files As PackageFiles
Dim File As PackageFile
Set Files = Package1.Files
For Each File In Files
If File.FileName = strFileName Then
' Do something with the file stored in the package
End If
Next
See Also
Find Method
|