- ©«¤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
        
|
¦^´_ 5# softsadwind
²¾°Ê·Æ¹«ÂI¿ï Àx¦s®æ¤W ¦³¹Ï¤ùÀɮצWºÙ ·|Åã¥Üµù¸ÑI´º¹Ï®×¬°¸ÓÀɮצWºÙªº¹Ï¤ù
Àx¦s®æ ªº¸ê®Æ¬°¤@§¹¾ãªº¸ô®|ÀɮצWºÙ(¹Ï¤ùÀÉ)- Option Explicit
- Private Sub Worksheet_SelectionChange(ByVal Target As Range) '¸Ó¤u§@ªíªº¨Æ¥ó µ{§Ç
- Dim xPath As String
- On Error Resume Next
- [xlTarget].ClearComments '²M°£ ¤u§@ªí½d³ò xlTarget µù¸Ñ
- On Error GoTo 0
- If Target(1) = "" Then Exit Sub
- xPath = Dir(Target(1)) '¬d¸ß Àx¦s®æ¸ê®Æ¬O§_¶Ç¦^¤@ÀÉ®×
- If xPath <> "" Then
- xPath = Target(1)
- Else
- xPath = "http://forum.twbts.com/templates/discuz6/images/logo.gif"
- End If
- Target.Name = "xlTarget"
- [xlTarget].NoteText " "
- With Target.Comment.Shape 'Àx¦s®æµù¸Ñ¤å¦r¹Ï®×
- .AutoShapeType = msoShapeRectangle
- .Line.ForeColor.SchemeColor = 53
- .Line.Weight = 2
- .Fill.UserPicture xPath 'µù¸Ñ¹Ï®× ¸ü¤J¹Ï¤ù
- .Width = Target(1, 2).Resize(, 5).Width 'µù¸Ñ¹Ï®× ¼e«×
- .Height = Target(1, 2).Resize(10).Height 'µù¸Ñ¹Ï®× °ª«×
- .Visible = True
- End With
- End Sub
½Æ»s¥N½X |
|