Many sites mention Excel automation, but fail to inform how to insert a picture to the Excel worksheet.

VB Code:
  1. Dim oXL As Excel.Application
  2. Dim oWB As Excel.Workbook
  3. Dim oSheet As Excel.Worksheet
  4. oXL = CreateObject("Excel.Application")
  5. oXL.Visible = True 'Move to Bottom after Debugging
  6.  
  7. oWB = oXL.Workbooks.Add
  8. oSheet = oWB.ActiveSheet
  9.  
  10. oSheet.Visible = True
  11. oSheet.Pictures.insert("logo.jpg").Select()
does not seem to work...

The rest of my code works to add and format text, so I know the reference is correct.

Thank in advance if anyone can help me.