- ©«¤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
|
¥»©«³Ì«á¥Ñ GBKEE ©ó 2013-7-27 10:17 ½s¿è
¦^´_ 6# john2006168
2.¦pªG§Ú¦b"¿é¤J¸ê®Æ"¤ºclick "check book B1",¸ê®Æ·|Åã¥Ü"SHEETS"DATA".B2.VALUE ;¦p¨Sclick,´N¤£Åã¥Ü
check book B1 ¦b¨º¸Ì??- '³o¬ODataBasa¤u§@ªí¼Ò²Õªºµ{¦¡½X
- 'D9 ªºÅçÃÒ½d³òn«ü¦V vendor Name¤u§@ªíªº A3:A7
- Private Sub Worksheet_Change(ByVal Target As Range)
- Dim I As Integer
- On Error Resume Next
- Application.EnableEvents = False
- If Not Intersect(Target, Range("D9:F9")) Is Nothing Then '§ïÅܪºÀx¦s®æ ¦b D9:F9¤º
- If Target(1).Value <> "" Then
- I = Application.Match(Target, [Vendor_name], 0) '´M§ä vendor Nameªº¦ì¸m
- [D23] = [Vendor_name].Cells(I, 1)
- [D24] = [Vendor_name].Cells(I, 2)
- [D25] = [Vendor_name].Cells(I, 3)
- I = Application.CountIf([Vendor_name], Target) 'pºâ vendor Name ªºÓ¼Æ
- If I > 1 Then MsgBox "½Ð¤p¤ß¤½¥q¦W"
- Else
- [D23:D25] = ""
- End If
- End If
- Application.EnableEvents = True
- End Sub
½Æ»s¥N½X |
|