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

[µo°Ý] VBA_¦U¤u§@ªíªºT3(§t)¥kÃä¦U¼Æ¦r~¦³­«½ÆªÌ¥u¨ú²Ä1­Ó¤§»yªk¡C

[µo°Ý] VBA_¦U¤u§@ªíªºT3(§t)¥kÃä¦U¼Æ¦r~¦³­«½ÆªÌ¥u¨ú²Ä1­Ó¤§»yªk¡C

2016-0124-Q-1 -.rar (142.35 KB)
»¡©ú¡J
T3=100- (J:P¦³Åã¥ÜR5­È)ªºIÄæ´Á¼Æ¥BT3<51

¦]¬°¨C¤@´Á¦@¦³7­Ó¤£­«½Æªº¸¹½X(§Y=R5­È)¡A©Ò¥HSheet1~ Sheet49ªºT3(§t)¥kÃä¦U¼Æ¦r·|¦³7­Ó¬Û¦Pªº¼Æ¦r~
EX1¡JTEST_1(¥Ø«e)~42=100-58~
Sheet1ªºT3=42¡ASheet11ªºV3=42¡ASheet15ªºT3=42¡ASheet24ªºU3=42¡ASheet27ªºV3=42¡ASheet37ªºU3=42¡ASheet46ªºU3=42
(Sheet n§Y¬°IÄæ58´Áªº¶}¼ú¸¹½X)

EX2¡JTEST_1(¥Ø«e) )~43=100-57~
Sheet2ªºU3=43¡ASheet3ªºU3=43¡ASheet6ªºU3=43¡ASheet7ªºV3=43¡ASheet26ªºT3=43¡ASheet30ªºU3=43¡ASheet49ªºW3=43
(Sheet n§Y¬°IÄæ57´Áªº¶}¼ú¸¹½X)

¨ä¾l...Ãþ±À¡C

»Ý¨D¡J
·Q¦b¦C31¼W¥[¤U¦Cªº»yªk~
Sheet1~ Sheet49ªºT3(§t)¥kÃ䪺¦U­«½Æ¼Æ¦r¼Æ¦r¥u¨ú²Ä1­Ó¡A¨ä¾lªº6­Ó¬Û¦P¼Æ¦r²¤¹L~
EX1¡JTEST_1(»Ý¨D)
Sheet1ªºT3=42¡A¨ä¾l(«á)ªº¦USheetªº²Ä3¦C¤£¦AÅã¥Ü42
EX2¡JTEST_1(»Ý¨D)
Sheet1ªºU3=41¡A¨ä¾l(«á)ªº¦USheetªº²Ä3¦C¤£¦AÅã¥Ü41
¨ä¾l...Ãþ±À¡C

EX3¡JTEST_1(»Ý¨D)
Sheet2ªºT3=44¡A¨ä¾l(«á)ªº¦USheetªº²Ä3¦C¤£¦AÅã¥Ü44
EX4¡JTEST_1(»Ý¨D)
Sheet2ªºU3=43¡A¨ä¾l(«á)ªº¦USheetªº²Ä3¦C¤£¦AÅã¥Ü43
¨ä¾l...Ãþ±À¡C

¸Ô¦pªþ¥ó¹Ï¥Ü¡C

½Ð°Ý¡J¦C31¤§«áªº»yªk­n¦p¦ó½s¼¶?

¥H¤W  Àµ½Ð¦U¦ì¥ý¶i¡B«e½ú¤£§[½ç±Ð!  ÁÂÁÂ!

¦^´_ 5# ­ã´£³¡ªL
­ã¤j:±z¦n!
ÁÂÁ±z©ó¦Ê¦£¤¤¼·¤¾½ç±Ð~
´ú¸ÕOK¤F~·P®¦

TOP

¦^´_ 4# Airman


Sheet1ªºT3=42¡A¨ä¾l(«á)ªº¦USheetªº²Ä3¦C¤£¦AÅã¥Ü42¡@

·Ó¦¹³W«h¡A³Ì«á­±ªº¤u§@ªíÀ³¨S¦³¢â¢²ªº¸ê®Æ¡A¥þ¶°¤¤¦b«e­±¡A

°µ¤F±Æ°£¡A¤£¥i¯à»P­ì¥DÀɮĪG¬Û¦P¡G
¥DÀÉ.rar (54.98 KB)
¡@

TOP

¥»©«³Ì«á¥Ñ Airman ©ó 2016-1-25 11:29 ½s¿è

¦^´_ 3# ­ã´£³¡ªL

­ã¤j:
´ú¸Õµ²ªGµª®×©M­ì¥DÀɬۦP¡C

¥i¯à¬O¦]¤p§Ìªº»¡©ú¤Ó¤¾ªø¡A©Ò¥H¥O±z²V²c¡C
¤p§Ìªº»Ý¨D²§ãªº»¡:
±NSheet1~ Sheet49ªºT3(§t)¥kÃä¦U­«½Æªº¼Æ¦r¡A¥u¨ú¨ä¤@(²Ä1­Ó)¡A¨ä¾l­«½Æ¼Æ¦rªº¦UÄæ²¾°£¡C
¥H¤W   ·q½Ð´f¤©½ç±Ð¬°Ã«!ÁÂÁ±z!

­Õ¹ï±Í»¡©ú©|¦³¤£©úÁA¤§³B ¡A¥ç½Ð±z¦A¦¸´£¥X~¤p§Ì·í¦A¸Ô¥[¸É¥R~·P®¦  

©ÎªÌ¬O~½Ð±z½ç±Ð¦p¦ó±N~
.Cells(5, t) = Cells(a.Row, 9)
¦³Åã¥ÜR5­Èªº·í¦C¤§IÄæ´Á¼Æ­È
§ï¬°
PÄ榳Åã¥ÜR5­ÈªºIÄæ´Á¼Æ­È
~¥ç¥i~ÁÂÁ±z

TOP

ÁÙ¬O¬Ý¤£À´»Ý¨D¡A²q¤@¤U¡G

tVal%, ValChk%(1 To 50)¡@sub ¶}ÀY¥ý©w¸q³o¢±­ÓÅܼÆ

If a = Sheets(s).[R5] Then
¡@¡@tVal = 100 - Cells(a.Row, 9).Value
¡@¡@If tVal < 51 Then
¡@¡@¡@¡@If ValChk(tVal) = 0 Then
¡@¡@¡@¡@¡@.Cells(5, t) = Cells(a.Row, 9) 'J:PÅã¥ÜR5­ÈªºIÄæ´Á¼Æ­È
¡@¡@¡@¡@¡@.Cells(3, t) = tVal  '´Á¶Z
¡@¡@¡@¡@¡@ValChk(tVal) = 1
¡@
¡@¡@¡@¡@¡@.Cells(1, t) = "=IF(Count(offset(A7,,COLUMN()-1," & e & ")),"""",1)" 'T1~Tn¤½¦¡
¡@¡@¡@¡@¡@.Cells(1, t + 1) = "=1"
¡@¡@¡@¡@¡@.Cells(1, t).Interior.ColorIndex = 6 'T1¼Ð¥ÜColor
¡@¡@¡@¡@¡@t = t + 1
¡@¡@¡@¡@End If
¡@¡@End If
¡@¡@q = q + 1
End If

TOP

¥»©«³Ì«á¥Ñ Airman ©ó 2016-1-25 00:51 ½s¿è

¦^´_ 1# Airman
¨þ~¨þ~¤£¦n·N«ä¡A·Q¨ì¤@­Ó³Ì²³æ¥B¯à¹F¨ì»Ý¨Dªº¤èªk~
If a = Sheets(s).[R5] Then
°²³]¡J.Cells(5, t) = Cells(a.Row, 9)    '§YT5=JÄæ¡JPÄ榳Åã¥ÜR5­ÈªºIÄæ´Á¼Æ­È
¦pªG­n§ï¬°
T5=PÄ榳Åã¥ÜR5­ÈªºIÄæ´Á¼Æ­È
½Ð°Ý¡J
.Cells(5, t) = PÄ榳Åã¥ÜR5­ÈªºIÄæ´Á¼Æ­È¤§»yªk­n¦p¦ó½s¼¶?

¥H¤W  Àµ½Ð¦U¦ì¥ý¶i¡B«e½ú¤£§[½ç±Ð!  ÁÂÁÂ!

TOP

        ÀR«ä¦Û¦b : µoµÊ®ð¬Oµu¼ÈªºµoºÆ¡C
ªð¦^¦Cªí ¤W¤@¥DÃD