- ©«¤l
- 967
- ¥DÃD
- 0
- ºëµØ
- 0
- ¿n¤À
- 1001
- ÂI¦W
- 0
- §@·~¨t²Î
- WIN XP
- ³nÅ骩¥»
- OFFICE 2003
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥x¥_
- µù¥U®É¶¡
- 2010-11-29
- ³Ì«áµn¿ý
- 2022-5-17
|
¥»©«³Ì«á¥Ñ register313 ©ó 2012-3-10 14:51 ½s¿è
¦^´_ 1# chen255 - Sub ¤ëÀ禬©ú²Ó()
- With Sheets("Main")
- .[AB1].CurrentRegion.Offset(3, 0) = ""
- For Y = .[AC2] To .[AE2]
- For M = 1 To 12
- Sheets(Y & "Àç·~¦¬¤J").Activate
- Set Source = Sheets(Y & "Àç·~¦¬¤J").Range([A12].Offset(0, (M - 1) * 10), [J65536].Offset(0, (M - 1) * 10).End(xlUp))
- Set Code = Source.Find(.[C1], , , xlWhole)
- R = .[AB65536].End(xlUp).Row + 1
- If Not Code Is Nothing Then
- .Range("AB" & R) = Y & "/" & Format(M, "00")
- .Range("AC" & R, "AI" & R) = Array(Code.Offset(, 2), Code.Offset(, 5), Code.Offset(, 4), Code.Offset(, 6), Code.Offset(, 7), Code.Offset(, 8), Code.Offset(, 9))
- End If
- Next M
- Next Y
- End With
- End Sub
½Æ»s¥N½X |
|