How to make perfectly typed text in a second: a macro in Word for those who write a lot



    When I first started getting to know Habr, the senior comrades strictly bequeathed to me to monitor double spaces and errors in the texts. In the beginning, I did not really attach any importance to this, but after a bunch of minuses in karma, my attitude towards this requirement suddenly changed. And just recently, my good friend from St. Petersburg, not that geek Yana Harina , shared a completely wonderful macro. I hope her first-person narration will be useful to you.



    Many years ago, working as an editor and catching endless extra spaces and other design flaws, I asked my husband to somehow save me from the routine. And he did a simple but terribly useful thing - an editorial macro. You press the specified key combination, and the problem is solved automatically.

    To worry about double spaces is perfectionism, 99% of the population does not suffer from it. But if you work with text (not only as a PR specialist, journalist or editor, but also, say, as a salesperson writing KP), then take care of its perfect design. This will give you an intelligent person.

    This is the text before processing: double spaces, a hyphen instead of a dash, a long dash, confusion with quotation marks.



    Such texts often get to the editor, their cleaning can take a very long time. Two keystrokes of the Ctrl + ё keyboard shortcut (this is the combination I have installed) - and the text is neatly framed.



    How it works? Using a simple macro for Word, which easily installs even a person who hardly understands the word “macro”. You need to download the file and follow the instructions.

    What a macro can do:
    • change double spaces to single;
    • replace the hyphen with the middle dash, and the long dash with the middle;
    • replace "e" with "e";
    • replace quotation marks “paws” with quotes “Christmas trees”;
    • remove inextricable spaces;
    • remove the space before the comma, the dot, the closing bracket.

    A complete list of commands can be seen in the macro text. The teams are connected with the standards of my previous work, they can be removed separately if you like the letter "ё" or a long dash, as well as add your own.

    Use it! And let your texts look perfect!

    Also popular now: