I am trying to run a macro on my DB which is password protected with Windows Scheduled Tasks.
Access version 2003
DB Location "\\s02\s02usr\Traffic_Signal_Database\Traffic Signal Database 2003.mdb"
DB Password - newton
I want to run a macro in the Access DB called mcrEmailWeekly in windows scheduled tasks with a .vbs file. I get a compilation error when I try to run the macro. Here is the script.
"C:\Program Files\Microsoft Office\Office11\msaccess.exe" "\\s02\s02usr\Traffic_Signal_Database\Traffic Signal Database 2003.mdb" " /pwd newton /x EmailWeelky
Not sure what to change and have been digging thru MS and the 'net.
Thanks.
Access version 2003
DB Location "\\s02\s02usr\Traffic_Signal_Database\Traffic Signal Database 2003.mdb"
DB Password - newton
I want to run a macro in the Access DB called mcrEmailWeekly in windows scheduled tasks with a .vbs file. I get a compilation error when I try to run the macro. Here is the script.
"C:\Program Files\Microsoft Office\Office11\msaccess.exe" "\\s02\s02usr\Traffic_Signal_Database\Traffic Signal Database 2003.mdb" " /pwd newton /x EmailWeelky
Not sure what to change and have been digging thru MS and the 'net.
Thanks.