- With a custom code we set Duration9 in Project 2013.
- After executing the code everything seems to be ok.
- After saving and reopening the Project it shows a message "Invalid Duration", and the value is shown as estimated (Questionmark).
- In VBA create following code:
Sub SetDuration()
Dim newVal As Long
newVal = 14400
Tasks(1).Duration9 = newVal
End Sub
- Execute Code.
- Close VBA.
- Open the Project and you will get the same message box
- The only way as far as I found out is to manually retype the Duration in that field. What is not exactly what I want.
Is this a bug in MSP or a hidden Feature? Does anyone has an idea?
Best Regards Steffen