Click here to Skip to main content
15,035,723 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
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.
Updated 7-Jun-18 11:06am

1 solution

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

but... EPPlus does not support such of functionality. See: What is NOT supported by the library (these are the most obvious features)?[^]

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900