- 博客(2)
- 收藏
- 关注
原创 【无标题】
VBA中Dictionary对象使用小结Dim dict’ 创建DictionarySet dict = CreateObject(“Scripting.Dictionary”)’ 增加项目dict.Add “A”, 300dict.Add “B”, 400dict.Add “C”, 500’ 统计项目数n = dict.Count’ 删除项目dict.Remove (“A”)’ 判断字典中是否包含关键字dict.exists (“B”)’ 取关键字对应的值,注意在使用前需要判断
2022-01-21 09:13:40
292
原创 VBA多列(多字段)冒泡排序
VBA多列冒泡排序// An highlighted blockSub t() ' maopaoSort Sheets("FACList"), Array(2, 4, 3) maopaoSort Sheets("OBDList"), Array(3, 5, 4)End SubSub maopaoSort(sh As Worksheet, sortSZ) Dim lastRow As Long, lastCol As Long Dim targetRng As
2021-09-27 22:06:49
629
1
空空如也
能把elementtree放进来吗?
2023-07-23
打开word中的excel
2023-07-22
TA创建的收藏夹 TA关注的收藏夹
TA关注的人