请参考 http://topic.csdn.net/u/20100929/11/5c83d072-933d-4e98-861b-c528013fda97.html一般图片能导出,但是excel里面如果设置自动筛选,shape.CopyPicture(XlPictureAppearance.xlScreen, XlCopyPictureFormat.xlBitmap);这句话就会出错未处理 System.Runtime.InteropServices.COMException
Message="Exception from HRESULT: 0x800A03EC"
ErrorCode=-2146827284请大家帮忙指点一下!
Message="Exception from HRESULT: 0x800A03EC"
ErrorCode=-2146827284请大家帮忙指点一下!
{
shapes.CopyPicture(Appearance.Button, Excel.XlCopyPictureFormat.xlBitmap;
......
}