Default Duration

P

Pallavi Jain

Microsoft Project takes the default duration to be 8 hours a day.User enters
a new duration of 8.25 hours a day. Is this possible? Can I override the
default value of 8 hours and use the new value entered by the user , for my
calculations? If yes, please provide suggestions how this can be achieved.

Thanks much!
 
J

Jan De Messemaeker

Hi,

In order to use 8.25 for ALL calculations you have to do 2 things:
- In the project calendar (and in resource calendars) change the working
time to 8:15 hours (Tools, Change Working time, from thereon it differs from
one version to the other)
- In Tools, Options, Calendar, set hours per day to 8.25

You should do all this BEFORE entering task durations if not they will be
recalculated.
Also read Faq 5 on
http://www.mvps.org/project/faqs.htm

Greetings,

--
Jan De Messemaeker
Microsoft Project Most Valuable Professional
+32 495 300 620
For availability check:
http://users.online.be/prom-ade/Calendar.pdf
 
P

Pallavi Jain

Thanks Jan!

However I have a follow up query.
I am interfacing Microsoft projects with another tool say, "mytool".
Here I need to be able to use "8.25 hours" entered by the user.
Is there any variable which stores this default value which I can directly
use?
Currently my application always uses the default value "8 hours " which is
"480 minutes". It would really help if I could use whatever this default
value is set to rather than 480 minutes each time! This leads to
miscalculations.

Thanks much!
 
D

Dev

Thanks Jan!

However  I have a follow up query.
I am interfacing Microsoft projects with another tool say, "mytool".
Here I need to be able  to use "8.25 hours" entered by the user.
Is there any variable which stores this default value which I can directly
use?
Currently my application always uses the default value "8 hours " which is
"480 minutes". It would really help if I could use whatever this default
value is set to rather than 480 minutes each time! This leads to
miscalculations.

Thanks much!
HI,

I believe, Applications.Projects(1).HoursPerDay would return the value
set in
Tools|Change Working Time|Options| Hours Per day field.

Hope this helps!

Thank you,
Dev
 
G

Gérard Ducouret

Hi Pallavi,

In VBA there is the Property HoursPerDay:
MsgBox ThisProject.HoursPerDay
Hope this helps

Gérard Ducouret
 
P

Pallavi Jain

Thanks a ton!
Projects(1).HoursPerDay just works fine for me.
I am doing further tests.
Will revert back if any issues.

-Pallavi.
 

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