I am trying to use pywin32 Python Library to extract data from MSProject .mpp file to an excel file where I want my employees to register their work hour.
I can extract data from any field I want except the Task Usage Table where it shows for every day how many hours an assignment (a person X a task) has to be done (Work) and has been done (Actual Work) and allows users to fill out the number of hours.
It seems that there is an Object for it if the case is VBA Programming, called TimeScaleValue object (Project) | Microsoft Docs
While it seems there is no similar attribute under Task object in pywin32. Are there any pieces of advice? Thanks a lot!
import win32com
...
Tasks_collection=ActiveProject.Tasks
for t in Tasks_collection:
for r in t.Assignments:
TSV_collection = r.TimeScaleValue('06/01/2019','08/01/2019')
...
Command Line gave me a message: AttributeError: win32com.gen_py.Microsoft Project . Object Library.Assignment instance object has no attribute 'TimeScaleValue'
Are there any pieces of advice? Thanks a lot.