- ©«¤l
- 23
- ¥DÃD
- 0
- ºëµØ
- 0
- ¿n¤À
- 31
- ÂI¦W
- 0
- §@·~¨t²Î
- Win7
- ³nÅ骩¥»
- 20xx
- ¾\ŪÅv
- 10
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2012-8-11
- ³Ì«áµn¿ý
- 2012-8-28
|
¦^´_ 9# skyutm
¨âÓµ{¦¡½XÀ³¸Ó¦X¨Ö- Sub Worksheet_Change(ByVal Target As Range)
- If Intersect(Target, [J1:J3]) Is Nothing Or [J3] = 0 Then Exit Sub
- ReDim ar(1 To [J3])
- YC = [J1] & Format([J2], "00")
- For i = 1 To [J3]
- ar(i) = YC & Format(i, "00")
- Next
- With Sheets(4)
- .Cells.Rows.Hidden = False
- .Cells.Columns.Hidden = False
- .[A:A] = ""
- .[A3].Resize([J3], 1) = Application.Transpose(ar)
- .Range("C1", .Cells(1, .Columns.Count)).EntireColumn.Hidden = True
- .Range(.[A3].Offset([J3], 0), .Cells(Rows.Count, 1)).EntireRow.Hidden = True
- End With
- End Sub
½Æ»s¥N½X |
|