关闭Excel工作簿,没有提示使用php或js保存

Is there a way to close excel workbook without prompt using PHP or JavaScript in .php file? I use data from excel on the website and when refreshing the website I have to close prompt everytime.

If I understand correctly, you want to close Excel (once opened automatically through a download of a .xls/.csv) on your local machine from a remote server? If this is the case then the answer is below.

No!

I solved it by removing part of the PHP code to close the workbook and staying with just VBA as a macro in the workbook itself