Thanks a ton!
Projects(1).HoursPerDay just works fine for me.
I am doing further tests.
Will revert back if any issues.
-Pallavi.
"Gérard Ducouret" wrote:
> Hi Pallavi,
>
> In VBA there is the Property HoursPerDay:
> MsgBox ThisProject.HoursPerDay
> Hope this helps
>
> Gérard Ducouret
>
> "Pallavi Jain" <PallaviJain@discussions.microsoft.com> a écrit dans le
> message de news: 3691A491-3FE6-41E3-9B27-CC040679E411@microsoft.com...
> >
> > 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!
> >
> > "Jan De Messemaeker" wrote:
> >
> >> 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
> >> "Pallavi Jain" <PallaviJain@discussions.microsoft.com> wrote in message
> >> news:3B934903-383A-4025-950F-A5612EB6B51C@microsoft.com...
> >> > 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!
> >>
> >>
> >>
>
>
>