ªð¦^¦Cªí ¤W¤@¥DÃD µo©«

[µo°Ý] ¨D¦³Ãö½d³ò¼Æ¾Ú¤¤©â¼Ëªº¤½¦¡

[µo°Ý] ¨D¦³Ãö½d³ò¼Æ¾Ú¤¤©â¼Ëªº¤½¦¡

·Q½Ð±Ðª©¤Wªº«e½ú­Ì

ªí¤@¬°¸ê®Æ­¶¡A¨ä¤¤UÄæ¬O¿n¤À©Ò¦b

·Q¦bªí¤GÀx¦s­¶°Ñ·ÓSHEET1ªºU3:U2000©â¥X¿n¤À¤¶©ó25~40¦P¦CªºAÄæ¥N¸¹¡BBÄæ©m¦W¡BEÄæ¼úª÷¥H¤ÎUÄ檺¿n¤À

¸Ó¥Î­þ­Ó¨ç¼Æ©O?

§Ú¸ÕµÛ¥ÎIF+AND³£©â¼Ë¥¢±Ñ...

½Ð«e½ú­Ì«ü¾É¤@¤U¤F

ÁÂÁÂ~

1.¥ÎVBA¤ñ¸û§Ö ¦p¤U
1.1SHEET2=ªí¤G ²Ä¤@¦C¦Û¦æ©ñ¼ÐÃD.
AÄæ¥N¸¹¡BBÄæ©m¦W¡BCÄæ¼úª÷¥H¤ÎDÄ檺¿n¤À
1.2SHEET1=ªí¤@¸ê®Æ®w  
AÄæ¥N¸¹¡BBÄæ©m¦W¡BEÄæ¼úª÷¥H¤ÎUÄ檺¿n¤À
1.3«Ø¥ß«ö¶s°õ¦æ¤U¤èµ{¦¡

Sub DATA()
Sheet2.[A265536].ClearContents
Y = Sheet2.[A65536].End(xlUp).Row + 1
X = Sheet1.[A65536].End(xlUp).Row
For M = 2 To X
If Sheet1.Cells(M, 21) - 25 >= 0 And Sheet1.Cells(M, 21) - 40 <= 0 Then
Sheet2.Cells(Y, 1) = Sheet1.Cells(M, 1)
Sheet2.Cells(Y, 2) = Sheet1.Cells(M, 2)
Sheet2.Cells(Y, 3) = Sheet1.Cells(M, 5)
Sheet2.Cells(Y, 4) = Sheet1.Cells(M, 21)
Y = Y + 1
End If
Next
Sheet2.Select
Range("A1").Select
End Sub
ù

TOP

¦^´_ 2# rouber590324
®¦~
·PÁÂrouber590324 «e½ú
¥ÎVBAªGµM¤è«K¦h¤F
{:3_46:}

TOP

¦^´_ 2# rouber590324
rouber590324 «e½ú±z¦n

§Ú®M¥ÎVBA«á¥X²{¤F

"°õ¦æ±µÂ_¿ù»~'13' «¬ºA¤£²Å¦X "ªº¿ù»~°T®§

°»¿ù«á¦b³o¦æ°±¤î
If Sheet1.Cells(M, 21) - 25 >= 0 And Sheet1.Cells(M, 21) - 40 <= 0 Then
1204BOOK1.rar (86.12 KB)
§Úªþ¤Wªí®æ½Ð«e½úÀ°§Ú¬Ý¬ÝÁÙ¦³¬Æ»ò¦a¤è»Ý­n­×¥¿ªº¶Ü?

ÁÂÁÂ~

TOP

DEAR ²\ªº¤pªá
¤½¥q­­¨î §ÚµLªk¤U¸ü±z´£¨Ñ¤§ÀÉ®× ´Ý©À........
ù

TOP

±q¤@¯ë°ÏÂà¨D ¦³Ãö½d³ò¼Æ¾Ú¤¤©â¼Ëªº¤½¦¡

¥»©«³Ì«á¥Ñ united7878 ©ó 2014-12-6 04:49 ½s¿è

¤W§«ô¦b¤@¯ë°Ïµo°Ý¤F¤@­Ó¦³Ãö"½d³ò¼Æ¾Ú¤¤©â¼Ëªº¤½¦¡"

ªí¤@¬°¸ê®Æ­¶¡A¨ä¤¤UÄæ¬O¿n¤À©Ò¦b

·Q¦bªí¤GÀx¦s­¶°Ñ·ÓSHEET1ªºU3:U2000©â¥X¿n¤À¤¶©ó25~40¦P¦CªºAÄæ¥N¸¹¡BBÄæ©m¦W¡BEÄæ¼úª÷¥H¤ÎUÄ檺¿n¤À

©¯±orouber590324 «e½úªº«ü¾É¦Ó²ß±o¤@VBA»yªk¦p¤U
1204BOOK1.rar

¦ý°õ¦æ«á·|¥X²{"°õ¦æ±µÂ_¿ù»~'13' «¬ºA¤£²Å¦X "ªº¿ù»~°T®§
°»¿ù«á¦b³o¦æ°±¤î
If Sheet1.Cells(M, 21) - 25 >= 0 And Sheet1.Cells(M, 21) - 40 <= 0 Then
·Q½Ð±Ðª©¤Wªº«e½ú°ª¤â­Ì¬O¦ó°ÝÃD³y¦¨©â¼Ë¥¢±Ñ
¦Ó°»¿ùªº­ì¦]¬°¦ó?

ÁÂÁÂ

TOP

        ÀR«ä¦Û¦b : ¤@­Ó¯Ê¤fªºªM¤l¡A¦pªG´«¤@­Ó¨¤«×¬Ý¥¦¡A¥¦¤´µM¬O¶êªº¡C
ªð¦^¦Cªí ¤W¤@¥DÃD