Belešku
Pristup ovoj stranici zahteva autorizaciju. Možete pokušati da se prijavite ili da promenite direktorijume.
Pristup ovoj stranici zahteva autorizaciju. Možete pokušati da promenite direktorijume.
Gets the free slack for a task in minutes. Read-only Variant.
Syntax
expression. FreeSlack
expression A variable that represents a Task object.
Example
The following example eliminates free slack in the active project by changing the start dates of tasks with free slack.
Sub EliminateFreeSlack()
Dim T As Task ' Task object used in For Each loop
For Each T In ActiveProject.Tasks
If T.FreeSlack > 0 Then
T.Start = Application.DateAdd(T.Start, T.FreeSlack)
End If
Next T
End Sub
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.