Re: Win 10 > Win 11 path error?

2026-02-26 Thread MRAB
On 26/02/2026 17:53, Em wrote: OutExcelFile = open("_EXCEL-FILE3az.txt","w") The line works in Win 10. In Win 11, if I press F5 it works but if I double click on the program filename, it fails immediately. No error reported. I believe the problem with the path needing to be different betwee

Win 10 > Win 11 path error?

2026-02-26 Thread Em
OutExcelFile = open("_EXCEL-FILE3az.txt","w") The line works in Win 10. In Win 11, if I press F5 it works but if I double click on the program filename, it fails immediately. No error reported. I believe the problem with the path needing to be different between Win10 and Win11. Can you tell m

RE: Win 10 > Win 11 path error?

2026-02-26 Thread Em
Ok, so I count 87 statements that open a file. I believe there are a lot of duplicates, triplicates? Couldn't I just add "UseRelativePaths = True" ? (-: What's worse is that I believe that about 1/3 of the code is obsolete. It has been worked on by numerous programmers over the last 20 years. Litt