If this is in connection with your "sliding pictures" post over in one of the
Excel news groups may I propose an alternative.
Leave the pictures in a fixed position and next to each picture have a Data
Validation dropdown list and let the students select the name from the list.
Achieve same effect.......match name to picture instead of sliding pictures
around to names.
You can leave the DV list Cells unlocked then protect the sheet so's pictures
cannot be moved or re-sized.
Locking pictures from resizing but allowing moving is not possible. The only
thing you could do is to restore to a set size after re-sizing took place.
A macro would be required.
Sub Reset_Shapes()
Dim sh As Shape
On Error GoTo whoops
For Each sh In ActiveSheet.Shapes
With Selection.ShapeRange
.LockAspectRatio = msoFalse
.Height = 72# ' 1"
.Width = 72# ' 1"
.Rotation = 0#
End With
Next sh
whoops:
MsgBox "You have not selected any picture(s)"
End Sub
Gord Dibben MS Excel MVP