- ©«¤l
- 710
- ¥DÃD
- 280
- ºëµØ
- 0
- ¿n¤À
- 1016
- ÂI¦W
- 0
- §@·~¨t²Î
- Windows 10
- ³nÅ骩¥»
- Office 2019
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2011-6-30
- ³Ì«áµn¿ý
- 2025-1-19
|
¥»©«³Ì«á¥Ñ av8d ©ó 2014-3-15 21:09 ½s¿è
- Private Sub CommandButton1_Click()
- Dim Rng, rngE As Range, row1, i As Integer
-
- Dim sh1, sh3 As Object
- ' Set sh1 = ThisWorkbook.Sheets("Sheet1")
- Set sh3 = ThisWorkbook.Sheets("¤u§@ªí3")
-
- end1 = [A65536].End(xlUp).Row
- Set rngE = [E2].Resize(end1, 1)
- i = 2
- For Each Rng In rngE
- If Rng = "v" Then
- Cells(Rng.Row, 1).Resize(1, 4).Copy
- row1 = [I65536].End(xlUp).Offset(1, 0).Row
- Cells(row1, 9).Resize(1, 4).Select
- ActiveSheet.Paste
- End If
- sh3.Activate
- If Rng = "v" Then
- Cells(Rng.Row, 1).Resize(1, 4).Copy
- sh3.Cells(i, 2).Select
- ActiveSheet.Paste
- i = i + 1
- End If
- Next
- End Sub
½Æ»s¥N½X µ²¦X«áÅܦ¨³o¼Ë?¦ý¬O·|¥X²{¿ù»~
§ó°Ê¨ì®ÇÃä D E
C¯dµ¹¥´¤Äªº |
|