Ok Guys, I have got this far, this code enables me to insert a picture into the current sheet, then copys this pictures to a denstination in the Photos sheet.
Private Sub Label2_Click()
Dim myPicture As String
myPicture = Application.GetOpenFilename _
("Pictures (*.gif; *.jpg; *.bmp; *.tif),*.gif; *.jpg; *.bmp; *.tif", , "Select Picture to Import")
If myPicture <> "" Then
ActiveSheet.Range("E4").Select
ActiveSheet.Pictures.Insert (myPicture)
ActiveSheet.Shapes(ActiveSheet.Shapes.Count).Select
With Selection
'RowNumber = Worksheets("Photos").[a65536].End(xlUp).Offset()
.ShapeRange.LockAspectRatio = msoFalse
.ShapeRange.Height = ActiveCell.RowHeight * 6
.ShapeRange.Width = ActiveCell.ColumnWidth * 65
.Copy
Sheets("Photos").Select
ActiveSheet.Range("A3").Select
ActiveSheet.Paste
Selection.ShapeRange.ScaleWidth 0.72, msoFalse, msoScaleFromTopLeft
Selection.ShapeRange.ScaleHeight 0.61, msoFalse, msoScaleFromTopLeft
End With
End If
End Sub
If i delete the picture in the first sheet, and insert a new one it goes on op of the other picture in the Photos sheet, the new destination should be this code below
Selection.ShapeRange.IncrementTop 90#
How do I get it so each time i insert a new picture it moves it down this far each time?