ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   how to return to an OLE workbook when ActiveWorkbook is Nothing (https://www.excelbanter.com/excel-programming/384068-how-return-ole-workbook-when-activeworkbook-nothing.html)

[email protected]

how to return to an OLE workbook when ActiveWorkbook is Nothing
 
I have an excel workbook object embedded in another application, in
this case MathCad.

When I run a macro in an excel addin of mine, the macro goes off to
other workbook files and then needs to get back to the embedded
workbook. But that embedded workbook doesn't seem to be in the
collection of open workbooks in excel.

So is there a way I can get from my macro back to the embedded
workbook from which it was called?

Thanks,

Brian Murphy
Austin, Texas



All times are GMT +1. The time now is 07:05 AM.

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