private void vbaInvoke(System.Action thing) { while (_running) { try { thing.Invoke(); break; } catch (COMException) { Thread.Yield(); } } }