Try Dim img As System.Drawing.Image Img =GetImage( "Y:\IMG\" & pic & ".jpg") If img IsNot ntohing Then Sheet(1,1).Value = New XLS.Picture(img,3,3,219,162) End IfCatch ex As Exception
End Try