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