Provide "Paste Link" Functionality in C# Winforms App
I would like to add Copy-Paste Link functionality to an application. The application replaces a complex Excel workbook. I would like to be able to copy tables, text, and charts from the application and use Paste Lin开发者_StackOverflow中文版k in MS Word.
For the uninitiated:
With Excel, when you use Paste Link for the tables, text, charts, etc. the items update in Word when you change them in Excel.Does anyone know for sure if this is/is not possible (is it some proprietary feature of MS Word-Excel)? If not, can anyone point me to some resources that will help (either an app that does this or a tutorial/write-up).
Thanks!
I'm trying to the exact same thing. I eventually went for OpenXML sdk 2.0 to add content controls in Word and paste the charts to those spots, like what this blogger does. http://www.dotblogs.com.tw/angus/archive/2010/05/19/15332.aspx
Could you share your code here? I'd really like to learn the OLE DB way. Appreciate it!
精彩评论