Excel, WordPad and DDE

W

witek

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.Document.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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top