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.

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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