Table of contents
TOC
Collapse the table of content
Expand the table of content

Calendar.Reset Method (Project)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

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
© 2018 Microsoft