Can anyone help me out with a example of a Variant class return type in MS-Access. Can a function in the class return a Variant type of the class which contains the function. I hope I could make my question clear.

Class A
Dim Temp as string
Dim Num as integer

public sub function1 As Variant 'this should be of the type Class A
Dim subclass as new A

msgbox(A.Temp & ":" & A.Num)

end sub