Disabling "SaveAs / Print" in Excel
I can open an Excel file in Qt. Below is the code :
excel.setProperty("Visible", true );
QAxObject * workbooks = excel.querySubObject("WorkBooks");
QAxObject *workbook = workbooks->querySubObject( "Open(const QString&)", QString("G:\Book1.xlsx"));
Is there any command where I can disable "Save As" or "Print". I don't want user to save or print his excel doc after he has edited.
Is this Book1.xlsx a sheet you create yourself?
It possible to use macro to disable print and save.
I can create myself and can open the excel.exe also.
Which macro to use so that I wont allow user to SaveAs and Print his document?
Just google it