Integrated Excel in Word

T

Tony

Hello

I have a Word document with a integrated Excel Sheet.
In VBA code would be like
"Selection.InlineShapes.AddOLEObject ClassType:="Excel.Sheet.8", LinkToFile _
:=False, DisplayAsIcon:=False"

I included a public function in Excel and would like to start it from the
Word in VBA.
How I'm getting the OLEObject from the ActiveDocument as Worksheet?

And some Events (like BevorPrint, BevorSave) dont work, if I save or print
it the Word document. Why?

Thanks for help
 

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