L
Luiz Carlos
Hello,
I need some help. Is there any way to modify the default calendar of the
project professional with VBA? I can modify the base calendar of resources
but i can't change the base calendar of project?
Example to modify a calendar of resources:
Sub sUsaCalendarioEngenharia()
Dim r As Object
For Each r In ActiveProject.Resources
If Not r Is Nothing Then
r.BaseCalendar = "Calendário Engenharia" '*** the name of calendar
End If
Next r
End Sub
I thanks for any help!
Luiz Carlos
Processor - Porto Alegre
I need some help. Is there any way to modify the default calendar of the
project professional with VBA? I can modify the base calendar of resources
but i can't change the base calendar of project?
Example to modify a calendar of resources:
Sub sUsaCalendarioEngenharia()
Dim r As Object
For Each r In ActiveProject.Resources
If Not r Is Nothing Then
r.BaseCalendar = "Calendário Engenharia" '*** the name of calendar
End If
Next r
End Sub
I thanks for any help!
Luiz Carlos
Processor - Porto Alegre