Hola amigos tengo esta macro (sirve y podria serle de utilidad):
Sub InsertarFoto()
Dim lgl As Long, lgt As Long, lgw As Long, lgh As Long
Dim Mem As Range
On Error Resume Next
Set Mem = ActiveCell
With ActiveSheet.DrawingObjects("LG")
lgl = .Left
lgt = .Top
lgw = .Width
lgh = .Height
End With
If Application.Dialogs(xlDialogInsertPicture).Show Then
ActiveSheet.DrawingObjects("LG").Delete
With Selection
.Left = lgl
.Top = lgt
.Width = lgw
.Height = lgh
.Width = lgw
.Name = "LG"
End With
Mem.Select
End If
End Sub
Sub RestablecerFoto()
Dim lgl As Long, lgt As Long, lgw As Long, lgh As Long
On Error Resume Next
With ActiveSheet.DrawingObjects("LG")
lgl = .Left
lgt = .Top
lgw = .Width
lgh = .Height
End With
ActiveSheet.DrawingObjects("LG").Delete
ActiveSheet.Shapes.AddShape(msoShapeRectangle, 399#, 126.75, 89.25, 95.25). _
Select
With Selection.ShapeRange
.Shadow.Type = msoShadow18
.Fill.ForeColor.SchemeColor = 58
.Fill.Visible = msoTrue
.Fill.Solid
End With
With Selection
.Left = lgl
.Top = lgt
.Width = lgw
.Height = lgh
.Width = lgw
.Name = "LG"
End With
Range("D7").Select
End Sub
En el arhivo que les adjunto en lo que quisiera q me den una mano es q esta macro se pueda utilizar independientemente en cada cuadro que dice FOTO, hay 23 de ellos, la idea es q se pueda usar esta macro para colocar distintas fotos de los trabajadores y a la vez sacarla cuendo sea necesario, estas dos macros hacen eso inserta y saca la foto, espero su ayuda y comentarios de antemano gracias



