小编Vla*_*d M的帖子

检索字典中的第n个键VBA

是否可以从字典中提取第 n 个键及其在 VBA 中的值?就像是

For i = 1 To Counter + diccompare.Count - UBound(RecSource)
WS.Cells(Lastrow + i, "A") = diccompare.Keys(UBound(RecSource) - Counter + i)
Next
Run Code Online (Sandbox Code Playgroud)

我尝试为 Cell(Lastrow +i) 分配字典 diccompare(UBound(RecSource) - Counter + i) 中键的值

excel vba dictionary

4
推荐指数
1
解决办法
3407
查看次数

标签 统计

dictionary ×1

excel ×1

vba ×1