- ©«¤l
- 133
- ¥DÃD
- 9
- ºëµØ
- 0
- ¿n¤À
- 147
- ÂI¦W
- 0
- §@·~¨t²Î
- Win10
- ³nÅ骩¥»
- Office 2010
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- ¨Ó¦Û
- °ª¶¯
- µù¥U®É¶¡
- 2010-5-1
- ³Ì«áµn¿ý
- 2024-11-11
|
´£¨Ñ¤@Ó´ú¸Õ¬Ý¬Ý~©ñ¦b sheet ¸Ì±,¤£n©ñ¦b¼Ò²Õ¸Ì..
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Dim note As String
If Not ActiveCell = Empty Then
If Not ActiveCell.Comment Is Nothing Then
note = InputBox("½Ð¿é¤J·í¤é°O¨Æ", , ActiveCell.Comment.Text)
Else
note = InputBox("½Ð¿é¤J·í¤é°O¨Æ")
End If
If note = Empty Then
ActiveCell.ClearComments
ActiveCell.Font.ColorIndex = 0
Else
On Error Resume Next
ActiveCell.AddComment
ActiveCell.Comment.Text Text:=note
ActiveCell.Font.ColorIndex = 3
End If
End If
End Sub |
|