合并Powerpoint演示文稿 [英] Merge Powerpoint presentations
问题描述
一旦用户选择要合并的文件,我想做的是,
他们选择了一个按钮,它将:
1.打开一个powerpoint实例
2.打开用户选择的第一个文件
3.复制/导出该演示文稿中的幻灯片
4.粘贴到powerpoint实例中(上面第1点)
5.关闭第一个文件
...对用户选择的所有其他文件重复这些步骤
我知道需要做什么,但我不知道如何在VB / C中使用语法#
//我知道我需要有以下指令:
你真的需要在.Net中这样做吗?看起来像PowerPoint宏会容易得多。在任何情况下,我都会先将它作为一个宏,因为你可以录制一个宏来看看如何做到这一点。然后切换回.Net。这是我为了帮助你而必须做的事情。如果您遇到任何具体问题,请尝试并发回。 --Sam
你真的需要在.Net中这样做吗?看起来像PowerPoint宏会容易得多。在任何情况下,我都会先将它作为一个宏,因为你可以录制一个宏来看看如何做到这一点。然后切换回.Net。这是我为了帮助你而必须做的事情。如果您遇到任何具体问题,请尝试并发回。 --Sam
这是我创建的有效的宏:
展开 | 选择 | Wrap | 行号
我们是天才:我刚刚在C#中完成了相同的解决方案。我会在它工作时发布它。希望它不是4:30 AM你喜欢它在这里! :)
Hi,
What I''m trying to do is,
once the users select the files they want to merge, they select a button which will:
1. Open an instance of powerpoint
2. Open the first of the files selected by the user
3. Copy/ export that slides from that presentation
4. Paste into the instance of powerpoint (in point 1 above)
5. Close the first file
... repeat these steps for all the rest of the files selected by the user
I know what needs to be done but I have no idea how to go about the syntax in VB/ C#
//I know I need to have the following directive:
Expand|Select|Wrap|Line Numbers解决方案Do you really need to do this in .Net? Seems like a PowerPoint macro would be a lot easier. In any case, I would do it as a macro first, because you can record a macro to see how to do it. Then switch back to .Net. That is what I would have to do in order to help you. Try that and post back if you have trouble with anything specific. --Sam
Do you really need to do this in .Net? Seems like a PowerPoint macro would be a lot easier. In any case, I would do it as a macro first, because you can record a macro to see how to do it. Then switch back to .Net. That is what I would have to do in order to help you. Try that and post back if you have trouble with anything specific. --SamHi,
This is the macro that I''ve created that works:
Expand|Select|Wrap|Line Numbers
We are geniuses: I''ve just about finished the same solution in C#. I''ll post it when it works. Hope it''s not 4:30 AM where you are like it is here! :)
这篇关于合并Powerpoint演示文稿的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文登录 关闭
扫码关注1秒登录发送“验证码”获取 | 15天全站免登陆