http://www.mrexcel.com/forum/excel-q...pen-excel.html

I would like to run the following VBS to run my VBA below.

Please Login or Register  to view this content.

VBA code I would like to run:

Please Login or Register  to view this content.
I have been running the following through task scheduler to no avail.

Program to run:cscript
Arguments""C:\Users\William\Google Drive\1 Daily Health Check\myScript.vbs" "C:\Users\William\Google Drive\1 Daily Health Check\DHC Master With Macros.xlsm" B

It opens my file and and says that it ran in task scheduler but doesn't run the macro.