How do I convert my item codes list to plain text in MS Word?


List objects in MS Word can be automatically converted to plain text through Visual Basic for Applications (VBA). To run the necessary VBA:

  1. Press Alt+F11 within MS Word with the document to be converted open. This will open the Microsoft Visual Basic for Applications window. Within this window, click Insert в†’ Module from the menu bar and paste the following code into the Module window:

    Sub ListToTest()
    End Sub
  2. Run code by clicking the Run (green arrow) button.

  3. This code will convert all list type objects within the open document to plain text.

Printed version of site: