Thank you Casey, Hi, I tried your example, after making the necessary edits, the Project Log has only this message "Project Log cleared at 3/6/2019 3:58:48 PM". Following is where I have placed my edits. Please Let me know where I am going wrong? '----- ' run the project '----- prjObject.run If Checkerror("Project.run") = True Then Exit Sub End If Set objProjectLog = prjObject.ProjectLog objProjectLog.Clear() ' Other optional operations objProjectLog.Enabled = True 'strProjectLog = objProjectLog.Text objProjectLog.SaveAs "c:\temp\projectLog.txt" toList(0) = "sayli.XXXX@XXXX.com" objProjectLog.SendMail "", "", toList, ccList, "my subject", "my body text" '----- ' Save the new project '----- prjObject.Save If Checkerror("Project.Save") = True Then Exit Sub End If
... View more