代码拉取完成,页面将自动刷新
Attribute VB_Name = "Module1"
Public Type myTest
aa As Integer
bb As String
End Type
Sub test()
Dim m As Variant
Dim myget As Object
Dim a(1) As New myCla
Dim b As New myCla
Dim col As New Collection
a(0).aa = 1
a(0).bb = "a"
a(1).aa = 2
a(1).bb = "b"
b.aa = 3
b.bb = "c"
col.Add b
'col.Add a(1), 2
'col.Add b, 3
For Each m In col
b.aa = m.aa
Next
m = col.Item(1)
End Sub
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。