Computer How to ? MS Office Tips Tricks Useful

Use MS Word as a Programming Language Editor

In a programming language editor, the keywords become different color automatically when you type the program in the editor. But in MS word they are simple text so it is very boring to edit some programming code in MS Word. But Now the same problem does not persist. A ready made plugin is available which will convert the keywords to different color and change the text of the entire coding part.

Before formatting and After formattingYou can see before formatting the entire text was in black and the font was Calibri.

After auto formatting the keywords has been changed to blue color and the font has been changed to Courier.

You can do this just using a simple plugin. You will get a ready made .exe file which you need to install.

After installation open MS Word and you will find the plugin in the Add-Ins tab of MS Word.


How to do it ? 

  • Go to this website, and download the compiled Word add-in (ready to install and use).
  • Download the .exe and install it.
  • After installation open MS Word and write any programming code such as VB, C, C++, C#, JAVA, PERL, PHP, Pascal and DFM Files.
  • Presently it supports above programming languages.
  • Select the text which you want to format, set the type of programming language you are using from the drop down menu and then press the formatting button to format. The same has been shown in the following diagram.
Plugin for Programming Language editing in MS Word 

A similar article you may also read “How to create an HTML editor with just 10 lines“.

1 thought on “Use MS Word as a Programming Language Editor”

  1. The plugin given doesn’t have any features to select a programming language. It doesn’t appear to do what you say.

Leave a Reply

Your email address will not be published. Required fields are marked *