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

½Ð±ÐÃö©ó¹Ï¤ùÅã¥Üªº»yªk¡H

¦^´_ 1# tku0216
²¾°Ê·Æ¹«ÂI¿ï  Àx¦s®æ¤W ¦³¹Ï¤ùÀɮצWºÙ  ·|Åã¥Ü ¸ÓÀɮצWºÙªº¹Ï¤ù
  1. Private Sub Worksheet_SelectionChange(ByVal Target As Range)   '¸Ó¤u§@ªíªº¨Æ¥ó µ{§Ç
  2.     Dim xPath As String
  3.     On Error Resume Next
  4.     xPath = "d:\"                                       '­×§ï¬°¹Ï¤ùÀÉ ªº¸ô®|¸ê®Æ§¨
  5.     [xlTarget].ClearComments
  6.     If Target(1) = "" Then Exit Sub
  7.     If Dir(xPath & Target) = "" Then Exit Sub
  8.     Target.Name = "xlTarget"
  9.     [xlTarget].NoteText " "
  10.     With Target.Comment.Shape           'Àx¦s®æµù¸Ñ¤å¦r¹Ï®×
  11.         .TextFrame.Characters.Font.ColorIndex = 1
  12.         .TextFrame.Characters.Font.Size = 14
  13.         .Fill.ForeColor.SchemeColor = 13
  14.         .AutoShapeType = msoShapeRectangle
  15.         .Line.ForeColor.SchemeColor = 53
  16.         .Line.Weight = 2
  17.         .Fill.UserPicture xPath & Target
  18.         .ScaleWidth 4, 0
  19.         .ScaleHeight 3, 0
  20.         .Visible = True
  21.     End With
  22. End Sub
½Æ»s¥N½X
¦p¹Ï
   

TOP

        ÀR«ä¦Û¦b : ¡i¬°µ½Ävª§¡j¤H¥Í­n¬°µ½Ävª§¡A¤À¬í¥²ª§¡C
ªð¦^¦Cªí ¤W¤@¥DÃD