简体   繁体   English

VBA代码以剪切和粘贴幻灯片

[英]VBA code to cut and a paste a slide

I am writing a VBA code in Excel 2010 to search for a particular text ( that I am inputting from Excel) in a Presentation, cut that slide and paste the slide next to slide where the same text (again inputting from Excel) is found in the Presentation. 我在Excel 2010中编写VBA代码以在演示文稿中搜索特定文本(我从Excel输入),剪切该幻灯片并将其粘贴到在其中找到相同文本(再次从Excel输入)的幻灯片旁边。演示文稿。

And I want to repeat the same for around 50 times, ie, I want to find 50 texts in PPT and cut those slides and paste them somewhere else. 我想重复同样的操作大约50次,即我想在PPT中找到50个文本并将其剪切并粘贴到其他位置。

Can I do this using Excel VBA code?? 我可以使用Excel VBA代码吗?

Yes. 是。
You'll need to add PowerPoint's Object Library and look up the existing solutions with Google. 您需要添加PowerPoint的对象库,并使用Google查找现有的解决方案。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM