I am not sure how to setup the file name.
string DirectoryName = Directory.GetCurrentDirect
ory();
string AppPath = Application.StartupPath.To
String();
Bitmap CWBLogo = (Bitmap)System.Drawing.Ima
ge.FromFil
e(AppPath + "\\..\\..\\Images\\CWB.bmp
", false);
Excel.Range rangeimg = excelWorkSheet.get_Range("
B" + count.ToString(), "B" + count.ToString());
Clipboard.SetDataObject(CW
BLogo);
rangeimg.Select();
excelWorkSheet.Paste(range
img, false);
Can someone help me fix this.
7-21-2008-1-14-16-PM.png