B
Bertrand
Hi !
I am trying to write a macro to export Resources data from MSP to
Excel using the TimeScaleData Method.
When a run the macro I have the "Run-time error '1101'' on the
following line:
Set pTSV =
ActiveProject.ProjectSummaryTask.TimeScaleData(tbStart.Value,
tbEnd.Value, TimescaleUnit:=cboxUnits.Value)
With:
tbStart = ActiveProject.ProjectStart
tbEnd = ActiveProject.ProjectFinish
Dim pTSV As TimeScaleValues
Form ComboBox :
cboxUnits.AddItem "Weeks"
cboxUnits.AddItem "Months"
I am using MSP2007 and I want to creat a macro to trace an S-curve in
Excel.
What can I do to correct the "Run-time error' ?
Regards
I am trying to write a macro to export Resources data from MSP to
Excel using the TimeScaleData Method.
When a run the macro I have the "Run-time error '1101'' on the
following line:
Set pTSV =
ActiveProject.ProjectSummaryTask.TimeScaleData(tbStart.Value,
tbEnd.Value, TimescaleUnit:=cboxUnits.Value)
With:
tbStart = ActiveProject.ProjectStart
tbEnd = ActiveProject.ProjectFinish
Dim pTSV As TimeScaleValues
Form ComboBox :
cboxUnits.AddItem "Weeks"
cboxUnits.AddItem "Months"
I am using MSP2007 and I want to creat a macro to trace an S-curve in
Excel.
What can I do to correct the "Run-time error' ?
Regards