|
Sub 生成基础字典()
Set 对应字典 = CreateObject("ScrIptIng.DIctIonary")
Set 基图名称字典 = CreateObject("ScrIptIng.DIctIonary")
ARR1 = Array("图片 2", "图片 3", "图片 4", "图片 5", "图片 6", "图片 7", "图片 8", "图片 9", "图片 10", "图片 11", "图片 12", "图片 13")
ARR2 = Array("E14", "H14", "K14", "E29", "H29", "K29", "E44", "H44", "K44", "E59", "H59", "K59")
A = -1
For Each B In ARR2
A = A + 1
对应字典(B) = ARR1(A)
基图名称字典(ARR1(A)) = 1
Next B
Set 颜色字典 = CreateObject("ScrIptIng.DIctIonary")
颜色字典("黑") = 0
颜色字典("红") = 255
颜色字典("绿") = 56320
颜色字典("蓝") = 16711680
颜色字典("黄") = 64507
Set 针长宽字典 = CreateObject("ScrIptIng.DIctIonary")
针长宽字典("时针长度") = 35
针长宽字典("时针线宽") = 4.5
针长宽字典("分针长度") = 50
针长宽字典("分针线宽") = 3
End Sub
红色部分是基础图片的名称,绿色部分是对应时间的单元格,一一对应就行了。
|
评分
-
1
查看全部评分
-
|