ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Excel, WordPad and DDE (https://www.excelbanter.com/excel-programming/393438-excel-wordpad-dde.html)

witek

Excel, WordPad and DDE
 
Hi guys.

I need to embed WordPad document inside Excel using VBA.

Dim text as string
text = "test"

Dim o As Object

Set o = ActieSheet.OLEObjects.Add(ClassType:="Wordpad.Docu ment.1",
Link:=False, DisplayAsIcon:=False)


And now, my question is how to store something in "o" and how to read
text from WordPad object.
Does anyone know?



All times are GMT +1. The time now is 05:00 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com