Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using MSProject Automation

Status
Not open for further replies.

SDyke

Aerospace
Joined
Nov 18, 2005
Messages
1
Location
US
I have a Visual FoxPro application that I create an MSProject file from. I have everything working except setting particular tasks to bold. How can I accomplish this?

...
x = 1
Scan

oProj.Tasks.Add(msprojectExportCursor2.deptno)
tre2 = oProj.Tasks.Count
oProj.Tasks.Item(tre2).Application.FontBold(.T.)
Do While .T.
If oProj.Tasks.Item(tre2).OutlineLevel = 1 Then
Exit
EndIf
oProj.Tasks.Item(tre2).OutlineOutdent
EndDo
...
This only puts bold on first task. I need it on every task that is at Outline Level 1
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top