K
Kris Rudin
Can't get much simpler:
Sub Macro1()
Dim t As Task
For Each t In Application.ActiveProject.Tasks
t.FixedCost = 0
Next
End Sub
But it throws the wonderful "Object variable or with block not set" error on
the t.fixedCost = 0 line. (It doesn't matter which task property I use, it
throws the same error.)
Intellisense gives me the FixedCost property.
Project Pro 2003.
What basic (no pun intended) thing am I missing here???
Thanks,
Kris Rudin
Sub Macro1()
Dim t As Task
For Each t In Application.ActiveProject.Tasks
t.FixedCost = 0
Next
End Sub
But it throws the wonderful "Object variable or with block not set" error on
the t.fixedCost = 0 line. (It doesn't matter which task property I use, it
throws the same error.)
Intellisense gives me the FixedCost property.
Project Pro 2003.
What basic (no pun intended) thing am I missing here???
Thanks,
Kris Rudin