How to Make Word Freeform Shape Segments Straight
Question details
The user needs to convert curved segments of a freeform shape into straight lines.

- Product
- Microsoft Word
- Device & OS
- not provided
- Scenario
- Editing drawn freeform shapes in a document and trying to change the default curved paths to straight lines.
- Observed behavior
- Word defaults to curved segments when adding points to a shape, and there is no native setting to change the default segment type to straight.
Before modifying shape points or running scripts, ensure your document is saved and verify that the Developer tab is enabled in your ribbon to access the VBA Editor.
Use a VBA Macro to Straighten All Segments
Run a VBA script to automatically convert all curved segments into straight lines across the document.
Since Microsoft Word does not offer a built-in setting to control the default segment type when drawing or adding points, utilizing a VBA macro is the most efficient way to batch-straighten segments across your freeform shapes.
Press Alt + F11 on your keyboard to open the Microsoft Visual Basic for Applications (VBA) window.
Click 'Insert' in the top menu bar, then select 'Module' to create a blank workspace for your code.
Write or paste a VBA script designed to loop through the shapes in your ActiveDocument and set the node segment type to msoSegmentLine.
Press F5 or click the 'Run' button. The macro will process the shapes and convert the curved nodes into straight segments automatically.

Manually Change Segments to Straight Lines
Use the Edit Points feature to individually change curved nodes into straight segments without using code.
Create and Edit Shapes Easily with WPS Office
If you are frustrated with Microsoft Word's shape editing limitations, try WPS Office. It provides a lightweight, intuitive interface for all your document formatting needs while offering seamless compatibility with Word files.
- 1. Download and Install: Get WPS Office for free from the official website and install it on your device.
- 2. Open Your Document: Launch WPS Writer and open your existing Word document containing the shapes.
- 3. Edit Shapes Intuitively: Go to the Insert tab, click Shapes, and use the flexible editing tools to perfectly align and format your objects.

Frequently Asked Questions
Why does Word default to curved segments when I draw a freeform shape?
Word's freeform drawing tool is designed to smooth out points into curves for more natural, hand-drawn lines. There is currently no built-in application setting to change this default behavior to straight lines.
Where is the Edit Points tool located in Word?
To find Edit Points, click on your shape, navigate to the Shape Format tab on the top ribbon, click the Edit Shape drop-down on the far left, and choose Edit Points.
Is there a shortcut to draw straight lines with the freeform tool?
Yes. While using the freeform tool, simply click and release your mouse at each vertex instead of clicking and dragging. Clicking and dragging creates a curved path, while clicking point-to-point creates straight line segments.
Can I convert straight segments back to curved segments?
Yes. By entering the Edit Points mode and right-clicking a node, you can select 'Smooth Point' or 'Curved Segment' to restore the curve to that specific section of the shape.




