Hey guys, I made a macro in VBA that extracts some data (as an array) from an xml file (path specified by a string variable).
I am taking this to UI, so that my bot calls a vbs file (Invoke VBA) containing the macro script and pastes the data array in an Excel Sheet.
Right now, I discovered that the arguments I pass to the routine must be of the same type (say, all are String()).
Therefore, I am first passing an array of just one element containing the xml path, however, I am running into some problems, to keep things simple, this is the first line of the vbs:
Sub DatasetsExtraction(ParamArray xmlRutaArray() As Variant)
In UI Studio:
Which is inside an Excel Process Scope and a previous Use Excel File.
ERROR: Invoke VBA: Specified array was not of the expected type.
Any help would be greatly appreciated! ![]()
