Visual Studio Code – Cannot call method System.Reflection.MemberInfo.get_CustomAttributes in this context
An exception is showed when CreateObject("Excel.Application") at run time. Some times works fine for a short time in the same session, but with code changes the exception occurs in the same session; In most cases, from the first execution with…