I am using a Macro that keeps a image locked up in the Top Left corner of the worksheet when you scroll down. I was wondering if it was possible to have the image sit in the Top Right corner of the worksheet. Here is the Macro that I am using:
Option Explicit
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Dim myShape As Shape
Set myShape = Me.Shapes("putthenamehere")
With Me.Cells(ActiveWindow.ScrollRow, ActiveWindow.ScrollColumn)
myShape.Top = .Top
myShape.Left = .Left
End With
End Sub
The help is greatly appreciated.
Option Explicit
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Dim myShape As Shape
Set myShape = Me.Shapes("putthenamehere")
With Me.Cells(ActiveWindow.ScrollRow, ActiveWindow.ScrollColumn)
myShape.Top = .Top
myShape.Left = .Left
End With
End Sub
The help is greatly appreciated.