ProjDateValue - not found?

  • Thread starter Henry Sundancer
  • Start date
H

Henry Sundancer

I am using Project Standard 2003. I'm writing a function to go through
my tasks and for those with a deadline, see if the finish date is
after the deadline. I am having trouble testing for NA deadline
values.

I was told to use:

if task.deadline = ProjDateValue("NA") then
'this task has no deadline
end if

But I am getting a Compiler Error: "Sub or Function not defined" and
ProjDateValue is highlighted.

Help!!
 
G

G Lykos

Henry, not sure about the context of your question.

Appears that DateValue rather than ProjDateValue is the answer to the
immediate question, but I don't believe that it accepts "NA".

Task.Deadline returns string "NA" where not set and can be tested as such.

Regards,
George
 
Top