I'm running this from a vba in excel
When you run the Cij3, the following will happen
1- The report is generated on the SAP - no excel workbook is opened yet-
2- You will right click on the generated report and select "Spreadsheet". or Ctr+Shift+F7
3- A window to select the spreadsheet type will pop-up
4- once you click on the green button, you will have the "save as" window as following
For every line in the VBA code you will get the control back to VBA except step (4) above. Once you click on the green button on the "select spreadsheet" window - presented by
Session.findById("wnd[1]/tbar[0]/btn[0]").press
The focus/control will stay in the SAP till you enter a file name. This is why any code in the VBA is not going to work :-)