Hello Experts,
I have Excel Automation code where i have following code, while trying to set the windowstate, i get COM error 80010105. The same code doesn't throw any exception when i work with Excel 2010. This occurs only with Excel2013. Please guide me.
COM_TRY
{
Excel::_ApplicationPtr excelApp = context->workbook->Application;
// Excel::XlWindowState wState = excelApp->GetWindowState();
//excelApp->PutWindowState(Excel::xlNormal);
excelApp->WindowState = Excel::xlNormal;
}
COM_CATCHV
Thanks /Anandh
Bookmarks