Disable clipboard prompt in Excel VBA on workbook close

后端 未结 7 2223
伪装坚强ぢ
伪装坚强ぢ 2020-12-16 13:03

I have an Excel workbook, which using VBA code that opens another workbook, copies some data into the original, then closes the second workbook.

When I close the sec

7条回答
  •  无人及你
    2020-12-16 13:41

    I have hit this problem in the past - from the look of it if you don't actually need the clipboard at the point that you exit, so you can use the same simple solution I had. Just clear the clipboard. :)

    ActiveCell.Copy
    

提交回复
热议问题