Modify Default Calendar with VBA! Please, help-me!

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
 
R

Rod Gill

Hi,

I recorded a macro of me editing the project calendar under Project,
properties and the following was recorded for me:

ProjectSummaryInfo Calendar:="24 Hours"

Please put VBA questions in the project.developer newsgroup from now on.
 
L

Luiz Carlos

Great Rod! It's running! Thanks for your help and sorry for my incorrect
post. In the future I going to do this.

[]'s

Luiz
Processor - Porto Alegre - Brazil
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top