title: VBA - syntax for .pictures.insert incorrect? Insert method of picture class failed
body: <p>I am new to VBA and am trying to make a macro that uses cell contents as the name of the picture file to insert. I keep getting 1004 error: Insert method of picture class failed. How do I fix this?</p>
  
  <pre><code>Sub simplepic()
  '
  ' simplepic Macro
  '
  ' Keyboard Shortcut: Ctrl+l
  '
      ActiveCell.Select
      Dim picname As String
      picname = Range(ActiveCell)
      ActiveCell.Offset(rowOffset:=-1).Select
      ActiveSheet.Pictures.Insert ( _
          "C:\Users\Briet\Documents\PAJ\pic-presentation\Images\" &amp; picname &amp; ".jpg")
  End Sub
  </code></pre>