Skip to content

Latest commit

 

History

History
49 lines (30 loc) · 1.31 KB

Project.List.md

File metadata and controls

49 lines (30 loc) · 1.31 KB
title ms.service api_name ms.assetid ms.date ms.localizationpriority
List object (Project)
project-server
Project.List
3934c2e8-d810-6571-9a33-1d41edbab87a
06/08/2017
medium

List object (Project)

Represents a collection of strings or numbers that contain field identification numbers, field names, reports, resource filters, resource tables, resource views, task filters, task tables, task views, or views. (There is no collection for List objects.) It can be accessed through the List properties of the appropriate objects.

Example

Using the List Object

Use a property such as the ReportList property to return a List object. The following example displays a list of all the reports available in the active project.

Dim Items As Integer, ReportNames As String 
 
For Items = 1 To ActiveProject.ReportList.Count 
 ReportNames = ActiveProject.ReportList(Items) & _ 
 ListSeparator & " " & ReportNames 
Next Items 
 
MsgBox Left$(ReportNames, Len(ReportNames) - Len(ListSeparator & " "))

Properties

Name
Application
Count
Item
Parent

[!includeSupport and feedback]