This error can be caused by a data type mismatch. Please try to change the data type that you connect to the type terminal of the Variant To Data Function.
An example program is attached below. If you try to convert variant data read from Excel cells which include error #DIV/0 into a string array, the error -2147352571 will occur. But if you try to convert the variant data into a numeric array, you can avoid the error.