ªð¦^¦Cªí ¤W¤@¥DÃD µo©«

[µo°Ý] ¸U¦~¾ä°ÝÃD

´£¨Ñ¤@­Ó´ú¸Õ¬Ý¬Ý~©ñ¦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

TOP

ÁÙ¬O¥i¥H½Ð±z±H¤@­Ó½d¨Òµ¹§Ú¬Ý©O?


±z¦n! ½Ð°Ñ¦Òªþ¥ó.
sample.rar (7.69 KB)

TOP

        ÀR«ä¦Û¦b : ¤f»¡¦n¸Ü¡B¤ß·Q¦n·N¡B¨­¦æ¦n¨Æ¡C
ªð¦^¦Cªí ¤W¤@¥DÃD