- ©«¤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
        
|
¦^´_ 7# cmo140497
ThisWorkbook¼Ò²Õªº¨Æ¥óµ{¦¡- Private Sub Workbook_SheetSelectionChange(ByVal Sh As Object, ByVal Target As Range)
- Dim Msg As Boolean, xlP As Shape
- On Error Resume Next
- Sh.Pictures("COPY").Delete
- For Each xlP In Sh.Shapes
- If xlP.TopLeftCell.Address = Target.Address Then
- Msg = True
- Exit For
- End If
- Next
- If Msg = False Then Exit Sub
- Selection.Copy
- With ActiveSheet.Pictures.Paste
- .Select
- .Name = "Copy"
- .Formula = Target.Address
- .Top = Target.Offset(1, 2).Top
- .Left = Target.Offset(, 2).Left
- .Height = Target.Height * 5
- .Width = Target.Height * 5
- .ShapeRange.Line.Visible = msoTrue
- .ShapeRange.Line.ForeColor.SchemeColor = 64
- .ShapeRange.Line.BackColor.RGB = RGB(255, 255, 255)
- End With
- Target.Select
- End Sub
½Æ»s¥N½X |
|