且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

将Excel复制到Powerpoint时出现随机错误

更新时间:2022-02-04 00:51:12

我想在PowerPoint演示文稿中合并大约20张Excel工作表。我创建了一个"Master.xlsm"包含将Excel表复制到PowerPoint演示文稿的VBA。 VBA非常简单,但由于某些原因,我在阅读了几张Excel表格时收到以下错误:
I have about 20 Excel sheets that I want to consolidate in a PowerPoint presentation. I created a "Master.xlsm" that contains the VBA that copies the Excel tables to the PowerPoint presentation. The VBA is pretty straightforward, but for some reason, I get the following error when a couple of Excel sheets have been read: