Vba Programming For Microsoft Project 98 Through 2010 With An Introduction To Vsto Updated
xlSheet.Columns("A:D").AutoFit MsgBox "Export complete. Close Excel manually."
For Each t In ActiveProject.Tasks If Not t Is Nothing Then If InStr(1, t.Name, "Code", vbTextCompare) > 0 Then t.Assignments.Add ResourceID:=res.ID Debug.Print "Assigned to: " & t.Name End If End If Next t xlSheet
// C# VSTO code calling a VBA macro projApp.Run("Module1.ListSummaryTasks"); xlSheet
