|
ED
|
avaliable
|
RT
|
avaliable
|
This method returns an object from type FileManagerFileItem.
Sub FileItem() Dim zFileManager As FileManager 'Object from type FileManager Dim zFileManagerFolder As FileManagerFolder 'Child object from type FileManager Dim zFileManagerItem As FileManagerFileItem 'Child object from type FileManagerFolder 'Fill the object Set zFileManager = MyWorkspace.ActiveDocument.FileManager 'Read the "help list" Set zFileManagerFolder = zFileManager.FolderItem(10) 'Read the first file in the list Set zFileManagerItem = zFileManagerFolder.FileItem(0) 'Returns the filename of the file in the list Debug.Print "Filename = " & zFileManagerItem.FileName End Sub
FileManagerFolder, FileManagerFileItem