Hello Everyone,

I have a worksheet using the following code to retrieve a .jpeg and insert on to the worksheet:

[VBA]Sub InsertDCPic()

Dim vFilename As Variant
Dim sPath As String
sPath = "c:\"
ChDrive sPath
ChDir sPath
vFilename = Application.GetOpenFilename("picture files (*.jpg),*.jpg", , "Please Select Die Cut Picture To Place On Warehouse Master", , False)
If TypeName(vFilename) = "Boolean" Then Exit Sub
If CStr(vFilename) = "" Then Exit Sub
If Dir(CStr(vFilename)) <> "" Then
ActiveSheet.Pictures.Insert CStr(vFilename)

End If
End Sub[/VBA]

Is it possible to use VBA code to insert the .jpeg into a specific cell range automatically? If so can this be done if this cell range is unlocked and the rest of the worksheet is protected?

Thank you in advance for any assistance you can provide!!!