In reply to Navin Salian.

Hi, this approach won't work on a UNIX machine, where the script is used as a post-process step. The script automates Microsoft Excel, which has to be running on a local Windows machine. You can use Linux SAS to generate the initial XLSX file and the script, but the two need to end up on a Windows machine where you then run the script.