Hi. I'm looking a way to create a scheduler in SAS Add-in using my own schedule file to refresh the Excel file without opening it. The schedule file should look like following table: (Note: always run at 5am)
| CURRENT MONTH | CURRENT YEAR | DATERUN |
| January | 2021 | 1/1/2021 |
| February | 2021 | 2/1/2021 |
| March | 2021 | 3/2/2021 |
| April | 2021 | 4/3/2021 |
| May | 2021 | 5/3/2021 |
| June | 2021 | 6/6/2021 |
I think I need to update VBS Script file in order to import and read the schedule file but I don't know how. Attached is the VBS Script file. The schedule create it when I use the schedule that SAS Add-in has.
Thank you in advance!
Comments:
Are you asking for vbs tips?
Please post the contents of your file (using the </> icon) rather than asking us to download it.
I would strongly recommend using a CSV file for your data rather than an excel file, it would be much easier to process in a vbs script.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Still thinking about your presentation idea? The submission deadline has been extended to Friday, Nov. 14, at 11:59 p.m. ET.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.