Àx¦s®æ¤ñ¹ï«á.¾É¤J·Æ¹«¦ì¸m°ÝÃD2
- ©«¤l
- 199
- ¥DÃD
- 22
- ºëµØ
- 0
- ¿n¤À
- 233
- ÂI¦W
- 248
- §@·~¨t²Î
- Vista
- ³nÅ骩¥»
- Office2003
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- ¨Ó¦Û
- °ª¶¯
- µù¥U®É¶¡
- 2020-4-14
- ³Ì«áµn¿ý
- 2024-12-23
|
Àx¦s®æ¤ñ¹ï«á.¾É¤J·Æ¹«¦ì¸m°ÝÃD2
¦U¦ì «e½ú¥ý¶i ¤j®a¦n
¦³2´£°Ý½Ð±Ð.¦]¦P¤@¤u§@ªí.¥i½Ð¤@°ÝÃD«ü¾É
°ÝÃD¤@)Àx¦s®æ¤ñ¹ï«á.¾É¤J·Æ¹«¦ì¸m
»Ý¨D:¦p¦ó±N·Æ¹«ÂI¶i"P2"Àx¦s®æ¤¤.¥H"P2"Àx¦s®æ¤¤¸ê®Æ¥h
¤ñ¹ï"K2"Àx¦s®æ²Ä1µ§¸ê®Æ«á.
·Æ¹«¦ì¸m¾É¤J©Ò¤ñ¹ï²Ä1µ§¸ê®Æ«á"EÄæ"Àx¦s®æ¤¤.
¨Ã±N¶Â¦â¦rÅéÂà´«¦¨¬õ¦â¦rÅé.Â÷¶}«á«ì´_¶Â¦â¦rÅé
¨Ò1)ÂI¶i1100601001«á.¤ñ¹ï"KÄæ".±o1100601001²Ä1µ§¸ê®Æ¦ì¸m¦b"E2".·Æ¹«¦ì¸m·|¦b"E2"
¨Ò2)ÂI¶i1100601005«á¤w¹ï"KÄæ".±o1100601005²Ä1µ§¸ê®Æ¦ì¸m¦b"E18".·Æ¹«¦ì¸m·|¦b"E18"
¨Ò3)ÂI¶i1100602005«á¤ñ¹ï"KÄæ".±o1100602005²Ä1µ§¸ê®Æ¦ì¸m¦b"E178".·Æ¹«¦ì¸m·|¦b"E178"
°ÝÃD¤G)¤pp¬O§_¥i¦P¨B§ó·s
¤pp"MÄæ"¤¤¥H¥Dµ{¦¡¾É¤J¸ê®Æ²£¥Í.¦]"EÄæ"¤¤»Ýקï¼Æ¶q
¾É¦Ü"HÄæ"¤¤ÅܤƲ£¥Í¸ê®ÆÅܲ§
.¦Ó¤pp¬O¥Dµ{¦¡¥H³æ¸¹"KÄæ"Á`©M¬GµLªk¦P¨B§ó·s
²{¥H"H1"¤¤µ{¦¡©¹¤U©Ô.¥i±N"EÄæ"¤¤ÅܤƦӦP¨BÅܧó.
¦Ó¤pp¬O¥H"KÄæ"³æ¸¹¤¤µ§¼Æ¬°Á`©M.¬GµLªk¦P¨B§ó·s
»Ý¨D: ¬O§_¥i¥ÎVBA¤ñ¹ï¤è¦¡.¥H¦Pµ§¼Æ"KÄæ"µ§¼Æ¦A¥H"HÄæ"µ§¼ÆÁ`©M§ó§ï¬°¤ppÁ`©M
·PÁ¤j®a«ü¾É
Àx¦s®æ¦ì¸m¾É¤J(1).zip (76.81 KB)
|
|
±Ó¦Ó¦n¾Ç,¤£®¢¤U°Ý
|
|
|
|
|
- ©«¤l
- 354
- ¥DÃD
- 5
- ºëµØ
- 0
- ¿n¤À
- 387
- ÂI¦W
- 0
- §@·~¨t²Î
- windows7
- ³nÅ骩¥»
- vba,vb,excel2007
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2017-1-8
- ³Ì«áµn¿ý
- 2024-8-2
|
|
|
|
|
|
|
- ©«¤l
- 199
- ¥DÃD
- 22
- ºëµØ
- 0
- ¿n¤À
- 233
- ÂI¦W
- 248
- §@·~¨t²Î
- Vista
- ³nÅ骩¥»
- Office2003
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- ¨Ó¦Û
- °ª¶¯
- µù¥U®É¶¡
- 2020-4-14
- ³Ì«áµn¿ý
- 2024-12-23
|
¥»©«³Ì«á¥Ñ BV7BW ©ó 2021-6-24 06:11 ½s¿è
¦^´_ 2# singo1232001
«D±`·PÁ singo1232001 ¤j¤j «ü¾É
¹ï©ó²Ä¤@°ÝÃD«ü¾É
«D±`§¹¥þ¶êº¡ÜD©M©Ò»Ý.ÁÂÁ§A
PS:¬O§_¥i¦bÀ°ª`¸Ñ.§Ú¥i¥[§Ö²z¸Ñ singo1232001 ¤j¤j «ü¾É
ÁÂÁÂ |
|
±Ó¦Ó¦n¾Ç,¤£®¢¤U°Ý
|
|
|
|
|
- ©«¤l
- 354
- ¥DÃD
- 5
- ºëµØ
- 0
- ¿n¤À
- 387
- ÂI¦W
- 0
- §@·~¨t²Î
- windows7
- ³nÅ骩¥»
- vba,vb,excel2007
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2017-1-8
- ³Ì«áµn¿ý
- 2024-8-2
|
¥»©«³Ì«á¥Ñ singo1232001 ©ó 2021-6-24 06:45 ½s¿è
- Private Sub Worksheet_Change(ByVal Target As Range) 'Àx¦s®æ§ïÅܮɤ~·|IJµo target ´N¬O§Aì¥ýÅܧó¸ê®ÆªºÀx¦s®æ(¤£¬O·s¿ï¨ìªº)
- If Target.Count > 1 Then Exit Sub '¿ï¨ì¨â®æ¥H¤W ±j¨îµ²§ô(¶]¤U¥h·|¥X°ÝÃD,¥»sub¤ºªº´£¨ìªº"¿ï¨ìªº®æ¤l"¬Ò¬°©|¥¼ÂIÀ»¤§«e¿ï¨ìªº®æ¤l)
- If Target.Column <> 5 Then Exit Sub '¿ï¨ì¤£¬O²Ä¤Äæ ±j¨îµ²§ô(¶]¤U¥h·|¥X°ÝÃD)
- If Target.Row = 1 Then Exit Sub '¿ï¨ì²Ä¤@¦C ±j¨îµ²§ô(¶]¤U¥h·|¥X°ÝÃD)
- If Target.Value = "" Then Exit Sub '¿ï¨ì®æ¤l¤ºµL¥ô¦ó¸ê®Æ ±j¨îµ²§ô(¶]¤U¥h·|¥X°ÝÃD)
- Target.Font.ColorIndex = xlAutomatic 'ÃC¦âÅܦ^¶Â
- Set s = ActiveSheet '±N¤u§@ªíÁY¼g «á±¨Ï¥ÎÁY¼g¤è«K
- On Error Resume Next '¤¹³\µo¥Í¿ù»~ ¤£¦A¸õ¥X´£¥Ü¿ù»~ĵ§iµøµ¡
- f = 0
- f = s.Columns("A:M").Find("*", searchdirection:=2).Row '¬d§ä³Ì«á¤@¦C , "*" §ä´MA~MÄæ«DªÅ¥Õ¦³¸ê®Æªº®æ¤l searchdirection:=2¥Ñ¤U©¹¤W¬d§ä
- If f = 0 Then Exit Sub '¦pªGfÁÙ¬O0 ¥Nªí¨S¸ê®Æ ¤£¶]
- On Error GoTo 0 '¤£¤¹³\µo¥Í¿ù»~ ¦^´_¦¨´£¥Ü¿ù»~ĵ§iµøµ¡
- k = s.Cells(Target.Row, "K") '¬d§ä¸Ó¦P¤@¦Cªº kÄæÈ
- x = 0 '¬ö¿ý¥[Á`¥Îªºx
- For i = 2 To f '°j°é (±q²Ä¤G¦C§ä¨ì ³Ì«á¤@¦C)
- If Str(k) = Str(s.Cells(i, "K")) Then x = x + s.Cells(i, "H") '§ä¨ì¬Û¦Pªº²£«~½s¸¹ ±NHÄæÈ«ùÄò¥[Á`¨ìx
- Next
- '¨ì³oÃä¤w¸g¥[Á`§¹¥þ¦P¤@Ó½s¸¹ªº¼Æ¶q
- Application.EnableEvents = False 'Ãö³¬¨Æ¥óIJµo ¥H§K³sÄò¼vÅT ¨ä¥LªºÄ²µo¨Æ¥ó selection »P change
- For i = 2 To f
- If Str(k) = Str(s.Cells(i, "K")) Then s.Cells(i, "M") = x '§ä¨ì¬Û¦Pªº²£«~½s¸¹ ¨Ã¥B±N¥[Á`¦nªºx©ñ¨ì¦P¤@¦CªºMÄæ
- Next
- Application.EnableEvents = True '«·s¶}±Ò¨Æ¥óIJµo
- Set s = Nothing
- End Sub
- Private Sub Worksheet_SelectionChange(ByVal Target As Range) 'Àx¦s®æÂI¿ï®É¤~·|IJµo target ´N¬O§A·í¤UÂIªºÀx¦s®æ(·s¿ï¨ìªº)
- If Target.Count > 1 Then Exit Sub '¿ï¨ì¨â®æ¥H¤W ±j¨îµ²§ô(¶]¤U¥h·|¥X°ÝÃD)
- If Target.Row = 1 Then Exit Sub '¿ï¨ì²Ä¤@¦C ±j¨îµ²§ô(¶]¤U¥h·|¥X°ÝÃD)
- If Target.Value = "" Then Exit Sub '¿ï¨ì®æ¤l¤ºµL¥ô¦ó¸ê®Æ ±j¨îµ²§ô(¶]¤U¥h·|¥X°ÝÃD)
- If Target.Column <> 16 Then Exit Sub '¿ï¨ì¤£¬O²ÄPÄæ ±j¨îµ²§ô(¶]¤U¥h·|¥X°ÝÃD)
- Set s = ActiveSheet '±N¤u§@ªíÁY¼g «á±¨Ï¥ÎÁY¼g¤è«K
- On Error Resume Next '¤¹³\µo¥Í¿ù»~ ¤£¦A¸õ¥X´£¥Ü¿ù»~ĵ§iµøµ¡
- f = 0
- f = s.Columns("K").Find(Target.Value, LookIn:=xlValues, lookat:=xlWhole, searchdirection:=1).Row 'searchdirection:=1¥Ñ¤W©¹¤U¬d§ä ¥u§äKÄæ §ä¨ì¬Û¦Pªº½s¸¹
- If f = 0 Then Exit Sub '§ä¤£¨ì²Å¦X¶µ¥Ø ±j¨îµ²§ô(¶]¤U¥h·|¥X°ÝÃD)
- On Error GoTo 0
- Application.EnableEvents = False 'Ãö³¬¨Æ¥óIJµo
- s.Cells(f, "E").Select 'ÂI¿ï §ä¨ìªºÀx¦s®æ
- s.Cells(f, "E").Font.Color = -16776961 '¨Ã±NÃC¦â§ï¬°¬õ
- SendKeys "{F2}" '¨Ã¶i¤Jקï¼Ò¦¡ f2¥»¨¬°excelªº ¥\¯à
- Application.EnableEvents = True '«·s¶}±Ò¨Æ¥óIJµo
- Set s = Nothing
- End Sub
½Æ»s¥N½X ¦^´_ 3# BV7BW |
|
|
|
|
|
|
- ©«¤l
- 199
- ¥DÃD
- 22
- ºëµØ
- 0
- ¿n¤À
- 233
- ÂI¦W
- 248
- §@·~¨t²Î
- Vista
- ³nÅ骩¥»
- Office2003
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- ¨Ó¦Û
- °ª¶¯
- µù¥U®É¶¡
- 2020-4-14
- ³Ì«áµn¿ý
- 2024-12-23
|
¦^´_ 4# singo1232001
¦A¦¸ÁÂÁ singo1232001 ¤j¤j
èè¥u´ú¸Õ°ÝÃD¤@).¨Sª`·N¨ì°ÝÃD¤G)¤]«D±`¦¨¥\
¤SÁÂÁ§AÀ°ª`¸Ñ.§Ú¦A²z¸Ñ§@ªk
ÁÂÁ singo1232001 ¤j¤j«ü¾É |
|
±Ó¦Ó¦n¾Ç,¤£®¢¤U°Ý
|
|
|
|
|
- ©«¤l
- 2839
- ¥DÃD
- 10
- ºëµØ
- 0
- ¿n¤À
- 2895
- ÂI¦W
- 0
- §@·~¨t²Î
- ¡e²¤¡f
- ³nÅ骩¥»
- ¡e²¤¡f
- ¾\ŪÅv
- 100
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¡e²¤¡f
- µù¥U®É¶¡
- 2013-5-13
- ³Ì«áµn¿ý
- 2024-12-22
|
SelectionChange ·|ÅýPÄæ¨S¿ìªk°µ§ó§ï,
¥i¥H§ï¥Î BeforeRightClick Âù«ö¥ªÁäIJµo |
|
|
|
|
|
|
- ©«¤l
- 2839
- ¥DÃD
- 10
- ºëµØ
- 0
- ¿n¤À
- 2895
- ÂI¦W
- 0
- §@·~¨t²Î
- ¡e²¤¡f
- ³nÅ骩¥»
- ¡e²¤¡f
- ¾\ŪÅv
- 100
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¡e²¤¡f
- µù¥U®É¶¡
- 2013-5-13
- ³Ì«áµn¿ý
- 2024-12-22
|
¥»©«³Ì«á¥Ñ ã´£³¡ªL ©ó 2021-6-24 13:19 ½s¿è
¥t¤@¤èªk:
Xl0000045.rar (63.22 KB)
¡¯¢ÞÄæ²Ä¢±¦C¥H¤U¡AÂù«ö·Æ¹«¥ªÁä¡A°õ¦æ¬d¸ß¤Îקï¡A¨Ã±N¦P¤@³æ¸¹½d³ò¥[¬õ¦â²Ê®Ø¡A
קï¼Æ¶q®É¡A¢ÛÄæ²£¥Íªº¤½¦¡·|¦Û°Êpºâ¦XÈ¡D¼Æ¶q¿é¤J¿ù»~®É¡A¨Ï¥Î´_ì¥\¯à§Y¥i¡D
__¨Ï¥ÎCHANGE¨Æ¥ó¬OµLªk°µ´_쪺
¡¯×§ï§¹¦¨«á¡A¦b¢Þ¢°Âù«ö¥ªÁä¡A¢ÛÄæ¦Û°ÊÅܦ¨È¡]²M°£¤½¦¡¡^¡A¨Ã«ì´_¶Â¦â®Ø½u |
|
|
|
|
|
|
- ©«¤l
- 976
- ¥DÃD
- 7
- ºëµØ
- 0
- ¿n¤À
- 1018
- ÂI¦W
- 0
- §@·~¨t²Î
- Win10
- ³nÅ骩¥»
- Office 2016
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2013-4-19
- ³Ì«áµn¿ý
- 2024-12-18
|
¦^´_ 7# ã´£³¡ªL
ã¤j½Ð±Ð¤@¤U¡A¨º¤@¥y¥Î·N¬°¦ó?·PÁÂ
Cancel = True |
|
|
|
|
|
|
- ©«¤l
- 2839
- ¥DÃD
- 10
- ºëµØ
- 0
- ¿n¤À
- 2895
- ÂI¦W
- 0
- §@·~¨t²Î
- ¡e²¤¡f
- ³nÅ骩¥»
- ¡e²¤¡f
- ¾\ŪÅv
- 100
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¡e²¤¡f
- µù¥U®É¶¡
- 2013-5-13
- ³Ì«áµn¿ý
- 2024-12-22
|
¦^´_ 8# samwang
Âù«ö¥ªÁä, ·|¶i¤JÀx¦s®æ¬°½s¿èª¬ºA(´å¼Ð°{Ã{), ©Ò¥Hn¥[ cancel=true, ´N¤£·|¤F,
µy§ï¤U, Àu¤ÆMÄæ¦Xp¤½¦¡:
Xl0000045-1.rar (63.47 KB)
|
|
|
|
|
|
|
- ©«¤l
- 199
- ¥DÃD
- 22
- ºëµØ
- 0
- ¿n¤À
- 233
- ÂI¦W
- 248
- §@·~¨t²Î
- Vista
- ³nÅ骩¥»
- Office2003
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- ¨Ó¦Û
- °ª¶¯
- µù¥U®É¶¡
- 2020-4-14
- ³Ì«áµn¿ý
- 2024-12-23
|
¥»©«³Ì«á¥Ñ BV7BW ©ó 2021-6-24 20:21 ½s¿è
¦^´_ 9# ã´£³¡ªL
·PÁ 㴣³¡ªL ¦Ñ®v«ü¾É
¸g´ú¸Õ«á¹BÂබºZ
¤×¨ä"HÄæ"¤Î"MÄæ"§ï³yÜD©M²«K
¥i½Ð¦A¼W¦C¾É¤J«á·Æ¹«¦ì¸m±N¶Â¦â¦rÅéÂà´«¦¨¬õ¦â¦rÅé
Â÷¶}«á¤£¥Î«ì´_.¥H§Q±oª¾¦¹µ§¸ê®Æ¤w§ó§ï¹L
¥t¤@ÃD¥~ÃD.ì¬O¤U¤@µo°Ý°ÝÃD
¦p¦ó«Ø¥ß·í¤é«È¤á«½Æ¨¾§b°Ê§@¨Ã¥i¤¹³\
§Ú¥ý«Ø¥ßÀɮצA¤W¶Ç´£°Ý
¥ýÁÂÁ 㴣³¡ªL ¦Ñ®v |
|
±Ó¦Ó¦n¾Ç,¤£®¢¤U°Ý
|
|
|
|
|