且构网

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

如何将Excel文件转换为PowerPoint

更新时间:2023-01-18 15:18:19

您还有很多工作要做...

您首先需要确定要首先使用的API.您的两个主要选择是:

1)Office Interop-免费,API并非简单明了,并且有一些潜在的障碍需要克服,以防止系统被锁定.

有关更多信息,请参见: MSDN Office Interop [ Google查询 [ Aspose [ ^ ]).

确定后,您将同时打开PowerPoint应用程序和Excel应用程序,将每个PowerPoint幻灯片复制到Excel并根据需要保存新文件.
You''ve got a bit of work ahead of you...

You''ll want to first settle on the API to use first. Your two main choices are:

1) Office Interop - Free, the API is not laid out in a straight forward way, and there are some potential hurdles to overcome to prevent locking up of the system.

For more information see: MSDN Office Interop[^] and Google Query[^]

2) Third Party Software - You''re basically exchanging cost for a better API and more documentation (potentially :D). Ex. (Aspose[^]).

After you decide that, you''ll just open up both an PowerPoint application and Excel Application copying each PowerPoint slide to Excel and saving a new file as needed.


Hi Puspendu Adhikari,

我也有同样的问题.
您的代码已经工作了吗?

谢谢.
萨布丽娜:)
Hi Puspendu Adhikari,

I also have this same question.
Did you have the code working already?

Thanks.
Sabrina :)