Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
44 lines (26 sloc) 808 Bytes
title ms.prod api_name ms.assetid ms.date
Resource.Flag17 Property (Project)
project-server
Project.Resource.Flag17
bbac9764-5ee9-bdb8-adf3-61ddc0390957
06/08/2017

Resource.Flag17 Property (Project)

True if the flag associated with a Resource is set. Read/write Variant.

Syntax

expression. Flag17

expression A variable that represents a Resource object.

Example

The following example deletes all the tasks that have the Flag1 set to True.

Sub DeleteNonEssentialTasks() 
 
 Dim T As Task ' Task object used in For Each loop 
 
 ' Delete nonessential tasks in the active project. 
 For Each T In ActiveProject.Tasks 
 If Not (T Is Nothing) Then 
 If T.Flag1 = True Then T.Delete 
 End If 
 Next T 
 
End Sub