Skip to content

Latest commit

 

History

History
46 lines (29 loc) · 1.02 KB

Project.Task.RemainingOvertimeCost.md

File metadata and controls

46 lines (29 loc) · 1.02 KB
title ms.service api_name ms.assetid ms.date ms.localizationpriority
Task.RemainingOvertimeCost property (Project)
project-server
Project.Task.RemainingOvertimeCost
6e8d72fd-efac-ed22-9549-950bba1cfc84
06/08/2017
medium

Task.RemainingOvertimeCost property (Project)

Gets the remaining overtime cost for the task. Read-only Variant.

Syntax

expression. RemainingOvertimeCost

expression A variable that represents a Task object.

Example

The following example returns the remaining overtime cost of each task in the active project.

Sub ReturnOvertimeCost() 
 Dim T As Task ' Task object used in For Each loop 
 Dim Results As String 
 
 For Each T In ActiveProject.Tasks 
 Results = Results & T.Name & ": " & ActiveProject.CurrencySymbol & _ 
 T.RemainingOvertimeCost & ListSeparator & " " 
 Next T 
 
 Results = Left$(Results, Len(Results) - Len(ListSeparator & " ")) 
 
 MsgBox Results 
 
End Sub

[!includeSupport and feedback]