¥[Åv«ü¼Æ¾ú¥v¸ê®Æ¤§±Æ§Ç°ÝÃD
- ©«¤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
|
¦^´_ 1# cudui - Sub yy()
- c = Array(1, 2, 3, 4, 5, 11, 14)
- With Sheets("¥[Åv¾ú¥v¦æ±¡ì©lÀÉ")
- .[A9:E9].Copy Sheets("¥[Åv¾ú¥v¦æ±¡-±Æ§Ç«á").[A1]
- .[K9].Copy Sheets("¥[Åv¾ú¥v¦æ±¡-±Æ§Ç«á").[F1]
- .[N9].Copy Sheets("¥[Åv¾ú¥v¦æ±¡-±Æ§Ç«á").[G1]
- n = .[a65536].End(xlUp).Row
- a = .Range(.Cells(1, 1), .Cells(n, 14))
- ReDim arr(1 To UBound(a), 1 To 7)
- x = 1
- For j = 1 To UBound(a)
- For i = 1 To 7
- If Mid(.Cells(j, 1), 4, 1) <> "/" Then
- GoTo 123
- Else: arr(x, i) = a(j, c(i - 1))
- End If
- Next i
- x = x + 1
- 123
- Next j
- End With
- With Sheets("¥[Åv¾ú¥v¦æ±¡-±Æ§Ç«á")
- .Range([A2], [G2].End(xlDown)) = ""
- .[A2].Resize(j - 1, 7) = arr
- .[A1].Sort Key1:=.[A1], Order1:=xlAscending, Header:=xlGuess
- .Range([B2], [G2].End(xlDown)).NumberFormatLocal = "#,##0.00"
- End With
- End Sub
½Æ»s¥N½X |
|
|
|
|
|
|