»sȤ§«áªº¤U±Àx¦s®æ¬Ò¬°""
- ©«¤l
- 463
- ¥DÃD
- 116
- ºëµØ
- 0
- ¿n¤À
- 580
- ÂI¦W
- 0
- §@·~¨t²Î
- Vista
- ³nÅ骩¥»
- 2007
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2010-5-4
- ³Ì«áµn¿ý
- 2017-11-13
|
»sȤ§«áªº¤U±Àx¦s®æ¬Ò¬°""
¦U¦ì«e½ú§A̦n!
«e½ú!°ÝÃD¦pªþÀÉ»¡©ú
½Ðª¾¹Dªº«e½ú,¤£§[½ç±ÐÁÂÁ¦A¤T!! |
-
-
Leov46.rar
(56.95 KB)
|
|
|
|
|
|
- ©«¤l
- 559
- ¥DÃD
- 58
- ºëµØ
- 0
- ¿n¤À
- 626
- ÂI¦W
- 0
- §@·~¨t²Î
- win8
- ³nÅ骩¥»
- office2013
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- ¨Ó¦Û
- TW
- µù¥U®É¶¡
- 2010-11-22
- ³Ì«áµn¿ý
- 2024-6-14
|
¦^´_ 1# myleoyes
¸Õ¸Õ¤Uzµ{¦¡½X~ À³¸Ó¥i¥H²Å¦X§Aªº»Ý¨D
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Select Case Target.Column 'Target.Column ¬°§A¿ï¾ÜªºÄæ¦ì,¦]JÄæ¦ì¬°²Ä10Äæ,¦]¦¹CASE ¶È¼g10
Case 10
For x = 3 To Target.Row - 1 'Target.Row:¬°§A¿ï¾ÜªºJÄæ¦ì²Ä´X¦C
J = J + 1
Cells(x, 7) = 11 * J '¨C¼W¤@¦C¼W¥[11
Next
Target.Offset(0, -3) = Target(1, 1) 'Target.Offset(0, -3):¬°§A¿ï¾ÜJÄæ¦ìÀx¦s®æ ©¹¥ª²¾3Ä檺¦ì¸m±a¤JTarget(1, 1)(§A¿ï¾ÜJÄæ¦ìÀx¦s®æ)
For c = Target.Row + 1 To Target.End(xlDown).Row '²M°£ pºâ¬°§A¿ï¾ÜJÄæ¦ìÀx¦s®æ¼Æ¥Ø
Cells(c, 7) = ""
Next
End Select
End Sub |
|
¾Ç²ß¤~¯à´£¤É¦Û¤v
|
|
|
|
|
- ©«¤l
- 463
- ¥DÃD
- 116
- ºëµØ
- 0
- ¿n¤À
- 580
- ÂI¦W
- 0
- §@·~¨t²Î
- Vista
- ³nÅ骩¥»
- 2007
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2010-5-4
- ³Ì«áµn¿ý
- 2017-11-13
|
¦^´_ 2# hugh0620
hugh0620 «e½ú§A¦n!
¡@¡@¡@ «e½úÁÂÁÂ!!ªGµM¼F®`³á!³o¬qµ{¦¡
Cells(x, 7) = 11 * J '¨C¼W¤@¦C¼W¥[11
¤p²Ä¤£¸Ñ¬°¦ó¨C¼W¤@¦Cn¥Î11¨Ó¥[©O?
ÁÙ¦³¥H½d¨Ò¨Ó»¡32¦C¬O³Ì«á¤@¦C
©Ò¥H·í«öJ32®É¦]¬°«á±¬O""©Ò¥Hµ{¦¡
µLªk°±¤î Next....
¥t¤@¤è±¬O·íJÄ檺Àx¦s®æ=""®É¬O
¤£¯à°õ¦æµ{¦¡«e½ú§Ñ°O¦Ò¼{¨ì
ìµ{¦¡¦³»¡( If Target(1) <> "" Then nn )
¤£¦n·N«ä½Ð¦A¨¯Wקï¬Ý¬Ý,ÁÂÁ¦A¤T!! |
|
|
|
|
|
|
- ©«¤l
- 559
- ¥DÃD
- 58
- ºëµØ
- 0
- ¿n¤À
- 626
- ÂI¦W
- 0
- §@·~¨t²Î
- win8
- ³nÅ骩¥»
- office2013
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- ¨Ó¦Û
- TW
- µù¥U®É¶¡
- 2010-11-22
- ³Ì«áµn¿ý
- 2024-6-14
|
¥»©«³Ì«á¥Ñ hugh0620 ©ó 2011-2-15 09:38 ½s¿è
¦^´_ 3# myleoyes
Q. Cells(x, 7) = 11 * J '¨C¼W¤@¦C¼W¥[11,¤p²Ä¤£¸Ñ¬°¦ó¨C¼W¤@¦Cn¥Î11¨Ó¥[©O?
A. ¦]¬°§Aµ¹ªº¹Ï¤£´N¬O¨C¦C³£¥[11,°£«D§A»Ýnªº¬O¨ä¥LªºªF¦è??
Q. ÁÙ¦³¥H½d¨Ò¨Ó»¡32¦C¬O³Ì«á¤@¦C,©Ò¥H·í«öJ32®É¦]¬°«á±¬O""©Ò¥Hµ{¦¡,µLªk°±¤î Next....
Select Case Target.Column
Case 10
For x = 3 To Target.Row - 1
J = J + 1
Cells(x, 7) = 11 * J
Next
Target.Offset(0, -3) = Target(1, 1)
Range(Target(1).Offset(1, -3), Target(1).Offset(1, -3).End(xlDown)) = "" '<----·s¼W³o¦æ,°½¥ÎHsieh¤j¤jªºªF¦è^.^
'²{¦bª¾¹D¥i¥H«ç»ò¥Î~ ¦h¾Ç·|¤@©Û~...
End Select
End Sub
Q. ¥t¤@¤è±¬O·íJÄ檺Àx¦s®æ=""®É,¬O¤£¯à°õ¦æµ{¦¡«e½ú§Ñ°O¦Ò¼{¨ì,ìµ{¦¡¦³»¡( If Target(1) <> "" Then nn )
³oÓ°ÝÃD§Ú¬Ý¤£À´C~ ¤£ª¾¹D§AJ=""®É, ¤£¯à°õ¦æªºµ²ªG¬O«ç»ò¼Ë?? |
|
¾Ç²ß¤~¯à´£¤É¦Û¤v
|
|
|
|
|
- ©«¤l
- 463
- ¥DÃD
- 116
- ºëµØ
- 0
- ¿n¤À
- 580
- ÂI¦W
- 0
- §@·~¨t²Î
- Vista
- ³nÅ骩¥»
- 2007
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2010-5-4
- ³Ì«áµn¿ý
- 2017-11-13
|
¦^´_ 4# Hsieh
hsieh«e½ú§A¦n!
°¸¹³«e½ú!ÁÂÁÂ!!µ{¦¡ºë²¦³¤OÃÙ!ÃÙ!
¨¯WÅo!ÁÂÁ¦A¤T!! |
|
|
|
|
|
|
- ©«¤l
- 463
- ¥DÃD
- 116
- ºëµØ
- 0
- ¿n¤À
- 580
- ÂI¦W
- 0
- §@·~¨t²Î
- Vista
- ³nÅ骩¥»
- 2007
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2010-5-4
- ³Ì«áµn¿ý
- 2017-11-13
|
¦^´_ 5# hugh0620
hugh0620 «e½ú§A¦n!
¡@¡@¡@ «e½úÁÂÁÂ!!GÄ檺¼Æ¦r¬OÀH·N¤U©Ôªºµ²ªG
³y¦¨§Aªº»~¸Ñ¥i¨£«e½úÆ[¹î¤J·L¹ê¦b¬O¯u¬p¶Õ!
·íJÄ檺Àx¦s®æ=""®É,°õ¦æµ{¦¡¬OµL·N¸qªº
¦p°¸¹³«e½úµ{¦¡¸Ìªº³o¤@¬q¬Û¦Pªº·N«ä
If..... And Target(1) <> "" Then
¬O¤p§Ì¤£·|ªí¹F¤£¦n·N«ä¦n¹³²q¿OÁ¼³á!¬p¶Õ!
¨¯WÅo!ÁÂÁ¦A¤T!! |
|
|
|
|
|
|