Is it possible to edit OLE object in Microstation using COM Api?

Hello,

This is primarily related to the Excel/Word COM API and Microstation's VBA. I have some embedded excel and word OLE objects, I can detect them by scanning for cells, they show up under names such as "Microsoft Excel Worksheet". Is it possible to do something like this:

Dim xlWorkbook as Excel.Workbook

Set xlWorkbook = DetectedCell.AsExcelWorkbook

I'm sure the above doesn't exist, but is there a way to attach to that object?

Thanks.

Parents Reply
  • FYi. I estimate about 2 or 3 hours (realistically spread across a couple days) work is needed to finish review and test of current enabled functionality.

    Please "BUMP" this thread if you do not see another update by end of Monday 12/22.

    FWIW. This code example is the only public way we can accomplish this type of modification since the structures are not published and not likely to be published or APIs made available - since MicroStation Tables and Reports are a path to replace this functionality going forward.  It should be noted that this code project would also be the only way to parse and update/migrate/replace the old OLE/DDE functionality to MicroStation Tables and Reports too.



Children
No Data