title | keywords | f1_keywords | ms.service | api_name | ms.assetid | ms.date | ms.localizationpriority | ||
---|---|---|---|---|---|---|---|---|---|
Calendar.Reset method (Project) |
vbapj.chm131258 |
|
project-server |
|
fc638f47-36b5-aa36-55c2-882bd570b9cb |
06/08/2017 |
medium |
Resets base calendar properties to their default values; resets resource calendar properties to the values in the corresponding base calendar.
expression. Reset
expression A variable that represents a Calendar object.
The following example resets every resource calendar in the active project.
Sub ResetResourceCalendars()
Dim R As Resource ' Resource object used in For Each loop
For Each R In ActiveProject.Resources
R.Calendar.Reset
Next R
End Sub
[!includeSupport and feedback]