How to Show Only Checked Items in a Word Legacy Checkbox Form
Question details
The user wants to display only the selected options in a protected Word form by hiding or removing any items where the legacy checkboxes are unchecked.

- Product
- Microsoft Word
- Device & OS
- not provided
- Scenario
- Formatting and finalizing a protected Word checklist so that it can be printed, saved as a PDF, or shared digitally without the clutter of unselected options.
- Observed behavior
- Unchecked items and their associated text remain fully visible in the protected document, making the finalized form look cluttered with irrelevant duties or options.
Ensure your Developer tab is enabled to access legacy form fields and VBA tools, and save a backup copy of your document before running any macros.
Use a VBA Macro to Hide Unchecked Items
Best for documents being printed or converted to PDF, as hidden text will not appear in the final printed output.
When distributing a form as a physical copy or a PDF, simply hiding the unchecked legacy form fields is sufficient. A macro can automatically unprotect the form, evaluate the status of the checkboxes, hide paragraphs associated with unchecked boxes, and reprotect the document.
Select the text and the corresponding legacy checkbox for your first item. Go to the Insert tab, click Bookmark, type a name (e.g., 'Check1Paragraph'), and click Add. Repeat this for each item.
Press Alt + F11 on your keyboard to open the Microsoft Visual Basic for Applications window. Go to Insert > Module to create a new blank module.
Write a script that unprotects the document, checks the field results, and applies hidden formatting. For example: If .FormFields("Check1").Result = False Then .Bookmarks("Check1Paragraph").Range.Font.Hidden = True.
Ensure the end of your With ActiveDocument block includes the reprotection command: If .ProtectionType = wdNoProtection Then .Protect Type:=wdAllowOnlyFormFields, NoReset:=True.
Press F5 or click the Run button in the VBA toolbar. The unchecked items will be hidden, leaving only the checked options visible.

Use a VBA Macro to Delete Unchecked Items
Safer for electronic documents shared digitally where users might manually reveal hidden text.
Create and Manage Professional Documents with WPS Office
While running complex VBA macros for legacy form fields is a task specific to Microsoft Word, you can create, edit, and print highly compatible checklists and forms using WPS Office—a lightweight, feature-rich, and cost-effective alternative.
- 1. Download and Install: Get WPS Office from the official website and easily install it on your PC or Mac.
- 2. Open Your Document: Launch WPS Writer and open your existing document to view and edit your checklists.
- 3. Export to PDF: Easily convert your finalized forms to PDF using the built-in Export to PDF feature.

Frequently Asked Questions
Can I hide unchecked legacy checkboxes without using macros?
No, Microsoft Word does not have a built-in toggle to automatically hide unchecked legacy form fields upon saving or printing. You must use a VBA macro to evaluate the checkbox results and change the text visibility programmatically.
Why should I delete unchecked items instead of hiding them?
If you share the electronic Word document with others, they can easily turn on hidden text visibility in Word's display settings. Deleting the unchecked items ensures that the unselected options are permanently removed and cannot be viewed by the recipient.
Are Content Controls better than Legacy Form Fields for new forms?
Yes. Microsoft recommends using Content Controls for modern documents. They are more flexible, easier to format, and simpler to interact with using VBA compared to older legacy form fields.
How do I unprotect a document using VBA before modifying it?
You can use the .Unprotect method in your macro. It is best practice to first check if the document is actually protected by using the condition: If ActiveDocument.ProtectionType = wdAllowOnlyFormFields Then ActiveDocument.Unprotect.




