ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   How to Isolate macros from different Workbooks? (https://www.excelbanter.com/excel-programming/279786-how-isolate-macros-different-workbooks.html)

MV[_2_]

How to Isolate macros from different Workbooks?
 
Hi,

I have an Excel Workbook that has Macros (both at Worksheet and module
levels) that in turn delegates most of the business logic to a VB6 COM
component.

OK, the problem is that when I have two different instances of this
workbook opened in the same PC, it seems that they are conflicting with one
another (I'm getting a lot of ActiveV instantiation problems).

I'm wondering what's the best way to 'isolate' this 2 Worbooks, should I
move all my module-level code to Worksheets?

Any ideas?

Thanks,
MV




All times are GMT +1. The time now is 09:32 AM.

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