I'm doing some visual basic development and for the life of me I couldn't figure out why my Microsoft Project 2007 Gantt chart view wasn't refreshing to show the order of the predecessor tasks correctly. Playing about with Project I figured out I just needed to press F9 to "refresh". But I wanted to know how to do that in code. I did some digging and finally figured it out.
Here's what you do:
Globals.
[ProjectName].Application.CalculateProject()
No comments:
Post a Comment