How to Stop Word Calendar Date Prompts on Startup
Question details
The user wants to prevent a Word calendar template from asking to change the date every time the document is opened.

- Product
- Microsoft Word
- Device & OS
- not provided
- Scenario
- Opening a calendar document created from a macro-enabled Word template.
- Observed behavior
- A pop-up prompt repeatedly appears asking the user to select or change the calendar dates upon startup, triggered by underlying VBA code.
Before modifying the underlying VBA code, ensure you save a backup copy of your calendar template in case you accidentally remove essential functions.
Remove the Prompt via the Visual Basic Editor
Edit the underlying VBA code to stop the Document_Open procedure from triggering the date-selection form.
Word calendar templates often use VBA macros to prompt for a date when they are first generated. Removing the prompt from the Document_Open procedure prevents the popup from appearing on subsequent opens without breaking the calendar layout.
Open your calendar document in Word and press Alt+F11 to launch the Visual Basic Editor. Do not use Alt+F8, as the required background procedure will not appear in the standard Macros dialog box.
In the left-hand Project pane, expand 'TemplateProject', then expand 'Microsoft Word Objects', and double-click on 'ThisDocument' to view its code.
In the code window, locate the 'Document_Open' procedure. Delete the specific lines of code that display the date-selection form and trigger the prompt.
Ensure you do not delete the 'Document_New' and 'Ribbon_Load' procedures, as these might be necessary for the calendar's ribbon interface and new document generation.
Save the template and close the Visual Basic Editor. Replace any older copies of the template with this newly updated version.

Save as a Standard Word Document
Strip out the macros completely by changing the file format after setting your initial dates.
Edit VBA Macros Seamlessly in WPS Office
WPS Office fully supports VBA macros, allowing you to edit document procedures and fix annoying pop-ups just like in Microsoft Word. Here is how you can seamlessly manage macros and customize calendar templates using WPS Writer.
- 1. Open your Document in WPS: Launch WPS Office and open your macro-enabled calendar document.
- 2. Access the Developer Tools: Navigate to the 'Developer' tab located on the top ribbon menu.
- 3. Launch the VBA Editor: Click the 'Visual Basic' icon or press the Alt+F11 shortcut to open the VBA editor interface.
- 4. Edit the Code: Navigate to 'ThisDocument' in the Project window and modify the Document_Open procedure to permanently remove the date prompts.

Frequently Asked Questions
Why does my Word calendar keep asking for the date?
This happens because the calendar was created from a macro-enabled template. A built-in VBA script is programmed to run every time the document is opened (via the Document_Open procedure), which triggers a pop-up asking you to update or confirm the calendar dates.
Can I disable the date prompt by deleting the macro from the Macros list?
No. The Document_Open procedure is built into the document's background events and typically does not appear in the standard View Macros (Alt+F8) dialog box. You must use the Visual Basic Editor (Alt+F11) to view and remove this specific type of code.
How do I save my calendar without macros after setting the dates?
Once you have selected your desired dates, go to File > Save As and choose the standard Word Document (.docx) format instead of a Macro-Enabled Document (.docm). This will automatically strip out all VBA macros, permanently stopping the start-up prompts.




