BookmarkSubscribeRSS Feed
eduong58
Fluorite | Level 6

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 YEARDATERUN
January 20211/1/2021
February 20212/1/2021
March20213/2/2021
April20214/3/2021
May20215/3/2021
June20216/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!

1 REPLY 1
ChrisNZ
Tourmaline | Level 20

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.

How to Concatenate Values

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 905 views
  • 0 likes
  • 2 in conversation