Calendar.Reset method (Project)
Resets base calendar properties to their default values; resets resource calendar properties to the values in the corresponding base calendar.
Syntax
expression. Reset
expression A variable that represents a Calendar object.
Example
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
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.