2019年9月25日

VBA中Dictionary对象(相当于java中的map)使用小结

摘要: VBA中Dictionary对象使用小结 2005 11 15 VBA中Dictionary对象使用小结 Dim dict ' 创建Dictionary Set dict = CreateObject("Scripting.Dictionary") ' 增加项目 dict.Add "A", 300 阅读全文

posted @ 2019-09-25 23:04 猪猪一号 阅读(3712) 评论(0) 推荐(0)

两个合并后的库,将面积最大的国土地类显示出来

摘要: ``` Sub test() Dim temp_area As Double Dim temp_di_lei As String temp_area = 0 temp_di_lei = "" i = 1 Do While Cells(i, 3).Value "" If Cells(i, 3).Value Cells(i + 1, 3).Value And temp_area = 0... 阅读全文

posted @ 2019-09-25 18:24 猪猪一号 阅读(251) 评论(0) 推荐(0)

导航