I have .jsl script that pulls data from a SQL server and saves it as .jmp & .xlsx. The .jmp file is so I can look at the data without waiting for the SQL query. The .xlsx file is so a different .xlsm file can read it (also without waiting) and run other macros as needed.
However, some people without JMP open the .xlsx file to read the data. And then they don't close it - which means the .jsl cannot save a new updated copy (every hour) -- which means the .xlsm is using stale data.
I want the .jsl file to save a hidden copy (for the .xlsm file) and a visible copy (for the humans), but it seems having the .jsl save over a hidden file is forbidden. As is, unsurprisingly, saving over a read-only file.
Can I have .jsl save over a hidden file? Can I use .jsl to unhide the file first? Is there a much simpler solution I am overlooking? Thanks in advance.