Setting selection to Nothing when programming Excel

后端 未结 17 1857
误落风尘
误落风尘 2021-02-02 09:35

When I create a graph after using range.copy and range.paste it leaves the paste range selected, and then when I create a graph a few lines later, it uses the selection as the f

17条回答
  •  情歌与酒
    2021-02-02 10:00

    Tried all your suggestions, no luck , but here's an idea that worked for me select a cell out of your selection range (say AAA1000000) and then select the A1 again

    Range("AAA1000000").Activate

    Range("A1").Activate

    Guy

提交回复
热议问题