Here is the macro:
Sub lefttrim()
Dim All_Tasks As Tasks 'All the tasks in the ProjectDim Single_Task As Task 'A single task in the Project
Set All_Tasks = ActiveProject.Tasks
For Each Single_Task In All_TasksSingle_Task.Name = Ltrim(Single_Task.Name) <(This line is throwing the error)Next
End SubDoes anyone have an idea as to why this would still perform the trim function, yet have an error? Thanks in advance.