In this type of situation, $[officename] Basic chooses the best matching type for the Basic type that you want to convert. However, if the wrong type is selected, an error occurs. You there use the CreateUnoValue() function to create a value for the unknown Uno type.
在这种情况下，$[officename] Basic 将为要转换的 Basic 类型选择最匹配的类型。但是如果选择了错误的类型，就会发生错误。您可以使用 CreateUnoValue() 函数为未知的 Uno 类型创建一个值。