- ©«¤l
- 4901
- ¥DÃD
- 44
- ºëµØ
- 24
- ¿n¤À
- 4916
- ÂI¦W
- 196
- §@·~¨t²Î
- Windows 7
- ³nÅ骩¥»
- Office 20xx
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥x¥_
- µù¥U®É¶¡
- 2010-4-30
- ³Ì«áµn¿ý
- 2024-9-6
![2023¦~¥þ¶Ô¼ú³¹ 2023¦~¥þ¶Ô¼ú³¹](images/common/2023.png) ![2022ªê¦~¥þ¶Ô¼ú³¹ 2022ªê¦~¥þ¶Ô¼ú³¹](images/common/hu.gif) ![2021¤û¦~¥þ¶Ô¼ú³¹ 2021¤û¦~¥þ¶Ô¼ú³¹](images/common/niu.gif) ![2020¹«¦~¥þ¶Ô¼ú³¹ 2020¹«¦~¥þ¶Ô¼ú³¹](images/common/shu.gif) ![2019 ½Þ¦~¥þ¶Ô¼ú³¹ 2019 ½Þ¦~¥þ¶Ô¼ú³¹](images/common/zhu.gif) ![2018 ª¯¦~¥þ¶Ô¼ú³¹ 2018 ª¯¦~¥þ¶Ô¼ú³¹](images/common/gou.gif) ![2017 Âû¦~¥þ¶Ô¼ú³¹ 2017 Âû¦~¥þ¶Ô¼ú³¹](images/common/ji.gif) ![2016µU¦~¥þ¶Ô¼ú³¹ 2016µU¦~¥þ¶Ô¼ú³¹](images/common/hou.gif) ![2015¦Ï¦~¥þ¶Ô¼ú³¹ 2015¦Ï¦~¥þ¶Ô¼ú³¹](images/common/yang.gif) ![2014°¨¦~¥þ¶Ô¼ú³¹ 2014°¨¦~¥þ¶Ô¼ú³¹](images/common/ma.gif) ![2013³D¦~¥þ¶Ô¼ú³¹ 2013³D¦~¥þ¶Ô¼ú³¹](images/common/she.gif) ![2012Às¦~¥þ¶Ô¼ú³¹ 2012Às¦~¥þ¶Ô¼ú³¹](images/common/long.gif) ![½×¾Â°^Äm¾±³¹ ½×¾Â°^Äm¾±³¹](images/common/medal5.gif) ![¼ö¤ß¤½¯q¾±³¹ ¼ö¤ß¤½¯q¾±³¹](images/common/medal15.gif) ![2011¨ß¦~¥þ¶Ô¼ú³¹ 2011¨ß¦~¥þ¶Ô¼ú³¹](images/common/tu.gif)
|
¥»©«³Ì«á¥Ñ Hsieh ©ó 2013-1-8 00:09 ½s¿è
¦^´_ 5# tmde987 - Sub «ö¶s_1()
- Dim Ar()
- Set d = CreateObject("Scripting.Dictionary")
- With Sheet1
- For Each a In .Range(.[A2], .[A2].End(xlDown))
- d(a.Value) = a.Offset(, 4).Value
- Next
- For Each a In .Range(.[J2], .[J2].End(xlDown))
- i = a.Offset(, 4).Value - d(a.Value)
- If i <> 0 Then
- ReDim Preserve Ar(s)
- Ar(s) = Array(a.Value, a.Offset(, 1).Value, a.Offset(, 2).Value, a.Offset(, 3).Value, i, a.Offset(, 5).Value)
- s = s + 1
- End If
- Next
- End With
- Sheet2.UsedRange.Offset(1) = "" '²Ä2¦C¥H¤U§R°£
- Sheet2.[A2].Resize(s, 6) = Application.Transpose(Application.Transpose(Ar)) 'A2¥H¤U¶ñ¤J
- End Sub
½Æ»s¥N½X- Sub «ö¶s_2()
- Dim Ar()
- Set d = CreateObject("Scripting.Dictionary")
- With Sheet1
- For Each a In .Range(.[A2], .[A2].End(xlDown))
- d(a.Value) = a.Offset(, 4).Value
- Next
- For Each a In .Range(.[J2], .[J2].End(xlDown))
- i = a.Offset(, 4).Value - d(a.Value)
- If i <> 0 Then
- ReDim Preserve Ar(s)
- Ar(s) = Array(a.Value, a.Offset(, 1).Value, a.Offset(, 3).Value, i)
- s = s + 1
- End If
- Next
- End With
- Sheet3.UsedRange.Offset(1) = "" '²Ä2¦C¥H¤U§R°£
- Sheet3.[A2].Resize(s, 4) = Application.Transpose(Application.Transpose(Ar)) 'A2¥H¤U¶ñ¤J
- End Sub
½Æ»s¥N½X- Sub «ö¶s_3()
- Dim Ar()
- Set d = CreateObject("Scripting.Dictionary")
- With Sheet1
- For Each a In .Range(.[A2], .[A2].End(xlDown))
- d(a.Value) = a.Offset(, 4).Value
- Next
- For Each a In .Range(.[J2], .[J2].End(xlDown))
- i = a.Offset(, 4).Value - d(a.Value)
- If i <> 0 Then
- ReDim Preserve Ar(s)
- Ar(s) = Array(a.Value, a.Offset(, 1).Value, a.Offset(, 3).Value, i)
- s = s + 1
- End If
- Next
- End With
- Sheet4.UsedRange.Offset(2) = "" '²Ä3¦C¥H¤U§R°£
- Sheet4.[A3].Resize(s, 4) = Application.Transpose(Application.Transpose(Ar)) 'A3¥H¤U¶ñ¤J
- End Sub
½Æ»s¥N½X- Sub «ö¶s_4()
- Dim Ar()
- Set d = CreateObject("Scripting.Dictionary")
- With Sheet1
- For Each a In .Range(.[A2], .[A2].End(xlDown))
- d(a.Value) = a.Offset(, 4).Value
- Next
- For Each a In .Range(.[J2], .[J2].End(xlDown))
- i = a.Offset(, 4).Value - d(a.Value)
- If i <> 0 Then
- ReDim Preserve Ar(s)
- Ar(s) = Array(a.Value, a.Offset(, 1).Value, a.Offset(, 2).Value, a.Offset(, 3).Value, i, "=RC[-2]*RC[-1]")
- s = s + 1
- End If
- Next
- End With
- Sheet5.UsedRange.Offset(2) = "" '²Ä3¦C¥H¤U§R°£
- Sheet5.[A3].Resize(s, 6) = Application.Transpose(Application.Transpose(Ar)) 'A3¥H¤U¶ñ¤J
- End Sub
½Æ»s¥N½X- Sub «ö¶s_5()
- Dim Ar()
- With Sheet6
- For Each a In .Range(.[A2], .[A2].End(xlDown))
- i = Application.Max(0, a.Offset(, 5).Value - a.Offset(, 4).Value) 'pºâÁʶR¼Æ¶q
- ReDim Preserve Ar(s)
- Ar(s) = Array(a.Value, a.Offset(, 1).Value, a.Offset(, 2).Value, a.Offset(, 3).Value, i)
- s = s + 1
- Next
- End With
- Sheet6.UsedRange.Offset(2, 8) = "" 'I3¥H¤U§R°£
- Sheet6.[I3].Resize(s, 5) = Application.Transpose(Application.Transpose(Ar)) 'I3¥H¤U¶ñ¤J
- End Sub
½Æ»s¥N½X |
|