12/10/2023 12:55 PM | |
Joined: 7/8/2022 Last visit: 3/27/2024 Posts: 8 Rating:
|
Good morning, everyone! I have a problem. I am trying to compile a supervisory system, but when I insert a "VB Script" intended to export data to an Excel file, it shows an error that prevents compilation. Could someone let me know if there's an error in my code? I'm not very familiar with scripts. [snip] AttachmentLog.txt (266 Downloads) |
Last edited by: The Helping Hand at: 12/11/2023 11:52:34Text formatting optimized and Log added as txt-File |
|
12/11/2023 11:50 AM | |
Joined: 1/21/2013 Last visit: 4/25/2025 Posts: 3775 Rating:
|
Hi JackAHS, Your second WriteLine command has an ampersand at the end of the line, which is not allowed there. And when you released the memory of "instance", you used the minus sign instead of the equal sign. Attached is code that compiles without errors. Kind regards AttachmentExp_Dados.txt (275 Downloads) |
Follow us on