如何使用epplus在Excel工作表中添加word文档 [英] How to add word document in excel sheet using epplus

查看:472
本文介绍了如何使用epplus在Excel工作表中添加word文档的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在动态365中使用EPPlus在excel工作表中包含word文档实例。需要一些参考和指导来使用EPPlus来实现它。



在Microsoft Excel中

转到插入选项卡 - 选择文本 - 单击对象选项并浏览需要嵌入的文档。



我尝试了什么:



我使用EPPlus处理word文档短期限我无法在D365中使用excel。

I'm trying to include word document instance in excel worksheet using EPPlus in dynamics 365. Need some reference and guidance to achieve it using EPPlus.

In Microsoft Excel
go to Insert tab - select Text - click object option and browse for document needed to be embedded.

What I have tried:

I worked with word documents using EPPlus, Due to short deadline I couldn't work on excel in D365.

推荐答案

使用VBA看起来像:

Using VBA it would looks like:
wsh.OLEObjects.Add Filename:="c:\sample.docx", Link:=False, DisplayAsIcon:=False, Left:=40, Top:=40, Width:=150, Height:=10



但是...... EPPlus没有支持这样的功能。请参阅:库不支持什么(这些是最明显的功能)? [ ^ ]


这篇关于如何使用epplus在Excel工作表中添加word文档的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆