Error with copy/paste in excel 2010 VBA when trying to insert charts, ranges etc into word

前端 未结 4 1156
长发绾君心
长发绾君心 2021-01-18 16:39

In researching this error I\'ve come to the conclusion that it has to do with the clipboard not clearing like it should which wasn\'t an issue when we were using 2003 but is

4条回答
  •  伪装坚强ぢ
    2021-01-18 17:14

    I started getting this error when I upgraded from 2003 to 2010, but the macro still worked in 2003.

    The tables were there, but I noticed that sometimes the copying didn't work. As this didn't ever happen in debug mode, I added 5 secs waiting time right before the copying.

    This makes the macro slower, but at least it works.

提交回复
热议问题