I have an excel file with a macro that I would like to run twice a day automatically. The file is shared in a Sharepoint 2013 site. Is it possible to schedule this macro? Thanks!!!

1 Answer 1


You can't do this in an automatic way from SharePoint. You can use a Powershell script that could run the macro in the Excel file.

Here is a link to a sample script:


Running the script at a specific time can be done using custom SharePoint Timer Jobs, or a batch file that runs on the server using task scheduler.

You'll have to have the skill to modify the script for your needs and also the access to the server to run the script.

Executing powershell script from a timer job

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.