Ms project Datedifference

B

Bjørn Tore Hovda

hey!

I want to use the datedifference function.

and i want to use the "task calendar" as the calendar parmeter.

something like this:
-------------------------------------------------
dim activity as task


For Each activity In ActiveProject.Tasks

msgbox(application.datedifference("10.07.05","12.07.05",activity.Calendar)

next

---------------------------------------------------
but this result in a type mismatch error!!!! :(

got a clue why?



pls hlp

-Bjorn , Norway
 

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