¶¡Â_¿é¤J®É ¦p¦óÅýµ{¦¡¤]¥i¥H±a¥X¸ê®Æ
- ©«¤l
- 92
- ¥DÃD
- 18
- ºëµØ
- 0
- ¿n¤À
- 195
- ÂI¦W
- 0
- §@·~¨t²Î
- xp
- ³nÅ骩¥»
- 2003
- ¾\ŪÅv
- 20
- ©Ê§O
- ¤k
- ¨Ó¦Û
- ¥x¥_
- µù¥U®É¶¡
- 2010-8-15
- ³Ì«áµn¿ý
- 2011-8-11
|
¦^´_ 7# hugh0620
¥Hoobirdª©¥Dªºµ{¦¡½X¨Óק諸¸Ü
²Ä2¦æ§ï>3, ¦A·s¼W²Ä5¦æ§Y¥i~- Private Sub Worksheet_Change(ByVal Target As Range)
- If Target.Count > 1 Or Target.Column > 3 Then Exit Sub
- On Error Resume Next
- Target(1, 2) = Sheet2.[b:b].Find(Target, , , 1)(1, 2).Value
- Target(1, 2) = Sheet3.[b:b].Find(Target, , , 1)(1, 2).Value
- End Sub
½Æ»s¥N½X |
|
|
|
|
|
|
- ©«¤l
- 5923
- ¥DÃD
- 13
- ºëµØ
- 1
- ¿n¤À
- 5986
- ÂI¦W
- 0
- §@·~¨t²Î
- win10
- ³nÅ骩¥»
- Office 2010
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥xÆW°ò¶©
- µù¥U®É¶¡
- 2010-5-1
- ³Ì«áµn¿ý
- 2022-1-23
|
¦^´_ 6# hugh0620
¦^´_ 7# hugh0620 - Private Sub Worksheet_Change(ByVal ÅÜ¼Æ As Range)
- Dim I
- If ÅܼÆ.Count > 1 Or (ÅܼÆ.Column <> 2 And ÅܼÆ.Column <> 3) Then Exit Sub
- If ÅܼÆ.Column = 2 Then
- Sh = "Data1"
- I = Application.Match(ÅܼÆ, Sheets("Data1").[B:B], 0)
- If IsNumeric(I) Then
- ÅܼÆ(1, 2) = Sheets("Data1").Cells(I, "C")
- Else
- ÅܼÆ(1, 2) = ""
- End If
- ElseIf ÅܼÆ.Column = 3 Then
- I = Application.Match(ÅܼÆ, Sheets("Data2").[B:B], 0)
- If IsNumeric(I) Then
- ÅܼÆ(1, 2) = Sheets("Data2").Cells(I, "C")
- Else
- ÅܼÆ(1, 2) = ""
- End If
- End If
- End Sub
½Æ»s¥N½X |
|
|
|
|
|
|
- ©«¤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
|
Dear ¤j¤j
Y°²³]§Ú»Ýn±qData1»PData2¤¤ ¦U¦ÛªºSheet¤¤¤ñ¹ï¸ê®Æ«á,±N¸ê®Æ±a¥X¨Ó,³o¼Ë¸Ó¦p¦óקï
»¡©ú:
1. ¦bsheet[¿é¤J]¤¤,{A}¶ñ¤J¸ê®Æ±a¥XDATA1¤¤ªºBÄæ¦ì¸ê®Æ
2. §Q¥ÎBÄæ¦ì¸ê®Æ±a¥XDATA2¤¤CÄæ¦ì¸ê®Æ
(¥ý«e±ø¥óData1»PData2ªºªí®æ¸ê®Æ¬O¦b¥¼¥[¤u¥B¤£¯à¾ã¦X¦b¤@°_ªº±¡ªp¤U)
°ÝÃD¦pªþ¥ó¤§½d¥»
¶¡Â_¿é¤J®É µ{¦¡¦p¦ó§JªA_©µ¦ùÃD2.rar (12.47 KB)
|
|
¾Ç²ß¤~¯à´£¤É¦Û¤v
|
|
|
|
|
- ©«¤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
|
¦^´_ 5# oobird
Dear ¤j¤j
Target <---³oÓ·N«ä¬O¤°»ò §Ú¥ÎF1¬d¸ß³Q¥¼§ä¨ì³oÓ¦rªº¥Îªk¸ò»¡©ú |
|
¾Ç²ß¤~¯à´£¤É¦Û¤v
|
|
|
|
|
- ©«¤l
- 1572
- ¥DÃD
- 16
- ºëµØ
- 2
- ¿n¤À
- 1521
- ÂI¦W
- 0
- §@·~¨t²Î
- xp
- ³nÅ骩¥»
- office 2003
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2010-5-1
- ³Ì«áµn¿ý
- 2016-1-13
|
If Target.Count > 1 Or Target.Column <> 2 Then Exit Sub
³o¦æ¬O©w¹ï³æ¤@Àx¦s®æ¿é¤J¦P®É¿é¤JªºÄæ¦ì¥²¶·¬ObÄæ¤~·|°õ¦æ°Ê§@¡C
§AY®³±¼·|¦b¥ô¦ó¦a¤è¿é¤J©Î§ïÅܮɳ£°õ¦æ¡C |
|
|
|
|
|
|
- ©«¤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
|
¦^´_ 2# oobird
Dear ¤j¤j
«á¨Ó§Ú¦³´ú¸Õ§â¨ä¤¤ªº¤@¦æ®³±¼´N¥i¥H¹F¨ì»Ý¨D,¦ý³o¦æ®³±¼·|¤£·|¦³¤°»ò¼Ëªº°ÝÃD©O??
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Count > 1 Or Target.Column <> 2 Then Exit Sub <----§â¸Ó¦æ®³±¼´N¥i¥H°õ¦æ
On Error Resume Next
Target(1, 2) = Sheet2.[b:b].Find(Target, , , 1)(1, 2).Value
End Sub |
|
¾Ç²ß¤~¯à´£¤É¦Û¤v
|
|
|
|
|
- ©«¤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
|
¦^´_ 2# oobird
Dear ¤j¤j~ §Ú±N§A¼¶¼gªºµ{¦¡½X©ñ¤J¨ì½d¥»¤¤,¦ý°õ¦æ«o§¹¥þµL¥ô¦ó°Ê§@
:dizzy:
¤j¤j ¤§«e§Ú¤]¦³¸Õ¹LPrivate Sub Worksheet_Change(ByVal Target As Range)
¦ý¥i¯à§Úªº¼gªk¤W¦³¿ù~ ¥¦·|¤@ª½pºâ
©Ò¥H~ §Ú¤~§ï¦¨Private Sub Worksheet_SelectionChange(ByVal Target As Range)
·í¿ï¾Üªº¦³§ïÅܮɴNpºâ~ |
|
¾Ç²ß¤~¯à´£¤É¦Û¤v
|
|
|
|
|
- ©«¤l
- 1572
- ¥DÃD
- 16
- ºëµØ
- 2
- ¿n¤À
- 1521
- ÂI¦W
- 0
- §@·~¨t²Î
- xp
- ³nÅ骩¥»
- office 2003
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2010-5-1
- ³Ì«áµn¿ý
- 2016-1-13
|
³oºØ¥ØªºÀ³¸Ó¥ÎWorksheet_Change¨Æ¥ó¦Ó¤£¬OWorksheet_SelectionChange¨Æ¥ó¡C- Private Sub Worksheet_Change(ByVal Target As Range)
- If Target.Count > 1 Or Target.Column <> 2 Then Exit Sub
- On Error Resume Next
- Target(1, 2) = Sheet2.[b:b].Find(Target, , , 1)(1, 2).Value
- End Sub
½Æ»s¥N½X |
|
|
|
|
|
|