- ©«¤l
- 21
- ¥DÃD
- 1
- ºëµØ
- 0
- ¿n¤À
- 52
- ÂI¦W
- 0
- §@·~¨t²Î
- WIN7
- ³nÅ骩¥»
- Office 2010
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥x¥_
- µù¥U®É¶¡
- 2015-3-13
- ³Ì«áµn¿ý
- 2024-5-2
|
¦^´_ 10# vavashop
³oÃþ«¬¤§±ø¥ó,§Ú°O±o¿ý»sªºµLªk¹F¦¨(¤pªº¤~²¨¾Ç²L@@,¥i¯à¦³¨ä¥L¤èªk¤p£x¤£ª¾¹D),¦ý«Øij¦Û¦æ¼¶¼g
¦p±z©Ò´£¥X¤§±ø¥ó "AÄæ¦ìn¦¨¥ß »P BÄæ¦ìn¦¨¥ß ¨âªÌ¦¨¥ß«á ªº C D E¤TÓÄæ¦ì ¥un¦³¬O¤j©ó0´N¥X²{¶Ü
dim data(100,5) , amount
amount=0
for i = 1 to sheets(2).range("A65536").end(xlup).row
if sheets(2).cells(i,1)="A±ø¥ó" and sheets(2).cells(i,2) ="B±ø¥ó" then
if 'CDEÄæ¦ì±ø¥ó¦¨¥ß then
amount =amount+1
for j = 1 to 5
data(amount,j)=sheets(2).cells(i,j)
next
end if
end if
next
for i = 1 to amount
for j = 1 to 5
sheets(1).cells(i,j)=data(i,j)
next
next
±z¥i¥H¸Õ¸Õ¬Ý±ø¥ó¶ñ¤J ¦A¶]¶]¬Ý ¥i§_! |
|