این کد رو اگه بخوایم برای چندتا shape بنویسیم چکار باید کرد. خیلی ممنون
Private Sub Worksheet_SelectionChange(ByVal Target As Range)'Updateby Extendoffice 20161116
Application.ScreenUpdating = False
If Target.Cells.Count > 1 Then Exit Sub
With ActiveSheet.Shapes("RoundedRectangle1")
.Top = ActiveWindow.VisibleRange.Top + 5
.Left = ActiveWindow.VisibleRange.Left + ActiveWindow.VisibleRange.Width - .Width - 45
End With
Application.ScreenUpdating = False
End Sub




کامنت