Charts Do Not Automatically Update When Data Changes

后端 未结 9 2877
庸人自扰
庸人自扰 2021-02-19 18:52

Hopefully this is an easy one. I have a series of charts in MS Excel that point to data on the same worksheet. The data on the worksheet is calculated using a VBA function. W

9条回答
  •  感情败类
    2021-02-19 19:45

    Running Excel 2019.

    Added the following to the macro code:

    ActiveSheet.ChartObjects(1).Chart.Refresh    
    DoEvents
    

    The chart now updates during macro execution

提交回复
热议问题