Private Declare Function SetBitmapBits Lib "gdi32" (ByVal hBitmap As Long, ByVal dwCount As Long, lpBits As Any) As Long
Sub ArrayToPicture(ByRef byteArray() As Byte, ByRef imgDest As IPicture)
Call SetBitmapBits(imgDest.handle, UBound(byteArray), byteArray(0))
End Sub