Set xl. Book xl. Workbooks. Openpath Book. True. Application. What is the Excel VBA Handbook The Excel VBA Handbook is the only available course that teaches you how to build VBA applications from scratch. Outside of VBA, Excels single most powerful feature is PowerPivot, which is an official MS addin for Excel that takes pivoting not just to the next level, but to a. Excel VBA Save As PDF StepByStep Guide And 10 Code Examples To Export Excel To PDF. By Jorge A. Gomez. Visible False. xl. Display. Alerts False. Application. run Book. Module. My. Macro. Active. Window. close. Set xl. Book Nothing. Set xl Nothing. WScript. Sleep5. New line Sleep for 5 seconds. Run. MacroNew line Run the Macro again. Replace the highlighted rows with your Workbook name and VBA Macro name. What does the VBScript doSo basically what it does is Executes the Module. My. Macro VBA Macro in Workbook Book. Sleeps for 5 seconds. Repeat. Add the VBScript to Startup. Add VBScript to Startup folder. To make sure the Macro will run periodically and not require any manual touch, you may want to add it to your Startup folder. This will ensure that the script will start running as soon as you turn on your workstation and will stop as soon as you close. Turn Off the periodic VBA macro. What if you want to turn the script at any moment in time You might as well turn on the Windows Task Manager. There is an easier way. Just create the following F IM wscript.