Template Issues

Set the Starting Cursor Position in a Word Macro-Enabled Template

Steven ParkerSteven Parker Nov 18, 2026 870 views

Question details

Set the starting cursor position in a Word macro-enabled letterhead template.

Set the Starting Cursor Position in a Word Macro-Enabled Template
Product
Microsoft Word
Device & OS
not provided
Scenario
A letterhead template fills in information when a new document is created, and the user wants to begin writing at a specific location.
Observed behavior
The cursor starts at the top of the page instead of at the intended writing position.
Before you start

Open the macro-enabled template itself for editing, rather than a new document based on it. Check whether the template already has an AutoNew macro so you can add the cursor-positioning code to it.

Solution 1Recommended

Use a bookmark and AutoNew macro to position the cursor

Use this method to move the cursor to a defined writing location whenever a new document is created from the template.

1
Insert a bookmark

In the template, click where users should begin typing. Select Insert > Bookmark, enter StartHere as the bookmark name, and select Add.

2
Open the macro editor

Select Developer > Visual Basic, or press Alt+F11. In the project for the template, open a standard module or choose Insert > Module.

3
Add the cursor command

If there is no existing AutoNew macro, add this code to the module: Sub AutoNew() ActiveDocument.Bookmarks("StartHere").Select End Sub. If an AutoNew macro already exists, add only ActiveDocument.Bookmarks("StartHere").Select near its end, after the code that fills in the letterhead.

4
Save and test the template

Use File > Save to save the template as a Word Macro-Enabled Template (.dotm). Then create a new document from it using File > New and confirm that the cursor is at the bookmark.

Use a bookmark and AutoNew macro to position the cursor
Macro security: The AutoNew macro runs when a new document is created from the template only if Word permits its macros to run. Enable macros only for templates you trust.
Free Microsoft Office alternative

Create and edit letterhead documents with WPS Writer

WPS Writer is a free, lightweight alternative for creating and editing letterhead documents. Its familiar interface and support for Word formats make it easy to move everyday documents from Microsoft Office. Word's AutoNew macro behavior should be tested separately in WPS.

Create and edit letterhead documents in WPS WriterOpen and save Microsoft Word DOCX documentsWork in a familiar, easy-to-use interfaceUse a free, lightweight Office alternative
microsoft office alternative - wps office

Frequently Asked Questions

Why does the cursor still start at the top of the document?

Check that the StartHere bookmark exists in the template and that the AutoNew code is stored in the template's VBA project. Create a new document from the template and check whether Word allows its macros to run.

What if the template already has an AutoNew macro?

Open Developer > Visual Basic and add ActiveDocument.Bookmarks("StartHere").Select near the end of the existing AutoNew procedure, after the letterhead information is filled in. Do not create a second AutoNew procedure.

Which file format should I use for the template?

Save it as a Word Macro-Enabled Template (.dotm) using File > Save As. A macro-free template format will not retain the VBA macro.

Does AutoNew run when I open the template for editing?

AutoNew is intended to run when you create a new document based on the template. To test it, create a new document from the saved template rather than opening the template itself.