T
topalps
Following is some some segment of vba in excel in one module
public type tradeVO
trade_date as date
value_date as date
deal_number as string
ccy_bought as string
ccy_sold as string
end type
public sub try()
dim trades as new collection
dim t as new tradeVO
trades.add t
end sub
------------------------------
there is a compile error: "only user-defined types defined in public
object modules can be coerced to or from a variant or passed to
late-bound functions"
what's it about? i can't get it
public type tradeVO
trade_date as date
value_date as date
deal_number as string
ccy_bought as string
ccy_sold as string
end type
public sub try()
dim trades as new collection
dim t as new tradeVO
trades.add t
end sub
------------------------------
there is a compile error: "only user-defined types defined in public
object modules can be coerced to or from a variant or passed to
late-bound functions"
what's it about? i can't get it