Hello,
I have to write a lot of things into an existing Excel-file with many sheets.
Example:
putexcel file.xlsx, sheet("A") modify
putexcel A1=matrix(A) ...
putexcel file.xlsx, sheet("B") modify
putexcel A1=matrix(B) ...
...
putexcel file.xlsx, sheet("Z") modify
putexcel A1=matrix(Z) ...
Every time the sheet changes, the file is saved to hd. I tried to keep the file open with
putexcel file.xlsx, sheet("A") modify open
but this gave the error "Excel file open" at the next putexcel set ...
Is there a way to write to different sheets whithout saving the file?
I have to write a lot of things into an existing Excel-file with many sheets.
Example:
putexcel file.xlsx, sheet("A") modify
putexcel A1=matrix(A) ...
putexcel file.xlsx, sheet("B") modify
putexcel A1=matrix(B) ...
...
putexcel file.xlsx, sheet("Z") modify
putexcel A1=matrix(Z) ...
Every time the sheet changes, the file is saved to hd. I tried to keep the file open with
putexcel file.xlsx, sheet("A") modify open
but this gave the error "Excel file open" at the next putexcel set ...
Is there a way to write to different sheets whithout saving the file?
Comment