Disable clipboard prompt in Excel VBA on workbook close

后端 未结 7 2205
伪装坚强ぢ
伪装坚强ぢ 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:35

    If I may add one more solution: you can simply cancel the clipboard with this command:

    Application.CutCopyMode = False
    

提交回复
热议问题