ray88’s diary

お仕事で困ったとき用の自分用の覚書

Uipath Object→任意のデータ型への変換

Public Sub objectConversion(ByVal anObject As Object)  
    Dim anInteger As Integer  
    Dim aString As String  
    anInteger = CType(anObject, Integer)  
    aString = CType(anObject, String)  
End Sub  

■参考URL
方法: オブジェクトを別の型に変換する - Visual Basic | Microsoft Docs