Disabling "SaveAs / Print" in Excel
Unsolved
General and Desktop
-
Hi,
I can open an Excel file in Qt. Below is the code :
QAxWidget excel("Excel.Application");
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.
-
Hi
Is this Book1.xlsx a sheet you create yourself?
It possible to use macro to disable print and save.