Lines moving while typing

La Vonda Williamson 0 Reputation points
2025-11-28T19:50:13.9733333+00:00

Hello,

Would like to know how to lock lines on a Word document. So, when typing the lines aren't moving and needing to be deleted for the extra spaces added. The lines are already pre-defined.

Name: ________

Line moves while typing. Would like to freeze the line so it doesn't move while typing.

Hopefully that makes sense.

Thank you

Microsoft 365 and Office | Word | For business | Windows
0 comments No comments
{count} votes

Answer recommended by moderator
  1. John Korchok 223.3K Reputation points Volunteer Moderator
    2025-11-28T20:15:48.1966667+00:00

    It looks like you're creating a form. Forms work best in Word when you use tables. Place the heading in one cell with no borders, then in the cell to the right, format it with only a bottom border. Here's my article on this, please see sections 3 and 4: 5 Word Formatting Mistakes - Best Practices

    2 people found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Q&A Assist
    2025-11-28T19:50:20.6766667+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    To lock lines in a Word document so that they do not move while typing, you can use the FreezeLayout method. This method fixes the layout of the document in Web view, ensuring that line breaks remain fixed and ink annotations do not move when you resize the window.

    Here’s how you can implement it:

    public void FreezeLayout();
    

    By calling this method, you can prevent the lines from moving as you type, which should help with the issue you're experiencing with extra spaces being added and needing to delete them.


    References:

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.