- ©«¤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
|
¦^´_ 2# starry1314 - Option Explicit
- Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)
- Dim xF As Range, St As String
- With Target.Item(1)
- If .Column <> 3 Then Exit Sub
- Cancel = True
- .ClearComments
- Set xF = Sheets("µæ³æ(¤Å°Ê)").[B:B].Find(.Value, Lookat:=xlWhole)
- If Not xF Is Nothing Then
- .NoteText xF & "," & xF(1, 2).Text
- St = xF(1, 2)
- Do
- Set xF = Sheets("µæ³æ(¤Å°Ê)").[B:B].FindNext(xF)
- If xF(1, 2) = St Then Exit Do
- .NoteText .NoteText & Chr(10) & xF & "," & xF(1, 2).Text
- Loop
- .Comment.Visible = True
- End If
- End With
- End Sub
½Æ»s¥N½X |
|