You've created a new blank
Bitmap
, and set its width and height, but you haven't drawn anything on it.
Try passing the picture box's
Image
property to the
SetDataObject
instead:
System.Windows.Forms.Clipboard.SetDataObject(pictureBox1.Image, false);
xlWorkSheet.Cells[48, 4].PasteSpecial("Bitmap");