'Error in one vba workbook causes other independent workbooks to stop running

I've written a number of programs that monitor devices and records data. The programs are continuously running. I'm usually monitoring several devices using separate workbooks that are independent from each other. However, if one program gets an error, all of VBA stops, including those other programs. Is there a way to have separate instances of VBA? So if one faults the others can still run? Thanks.



Solution 1:[1]

If you want an error in one workbook not to affect running code in another, you can use separate instances of Excel to run each macro.

To start a new instance, hold down the Alt key while opening Excel - it will ask you if you mean to start a new instance. Or you can create a new instance from VBA using CreateObject()

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Tim Williams