Date assignment error in code

C

Curmudgeon

I have a simple, straightforward procedure that includes the
instruction

[Task].Start6 = [Task].Start2

When the code executes, I get "Runtime error 1101 The argument value
is not valid".

The date values at the time are all valid, e.g. Start6 = "NA"; Start2
= 1/15/2008 8:00:00 AM

Applying a format statement to Start2 does not affect this, and the
error occurs on dozens of different tasks, with different dates, in
the mpp.

Does anybody have any suggestions?

Thanks
Dave
 
J

Jan De Messemaeker

Hi,

One possible explanation could be that Start6 field has been customized
(formula..) in that case it cannot accept other values, f.i. from VBA
HTH


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

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