MS Project : VBA Chart.UpdateChartData method doesn't work RRS feed

  • Question

  • Hello,

    I'm trying to use the VBA method UpdateChartData on Ms Project Pro 2016 but I don't manage to.

    The code return a run time error '5' - Invalid procedure call or argument.

    Please find below my VBA test code.

    Sub test()
    ActiveProject.Reports(1).Shapes(13).Chart.UpdateChartData Task:=True, Timephased:=True, StartDate:=Now()
    End Sub

    Thank you.


    Wednesday, March 23, 2016 5:34 PM