Plenty of paperwork are stuffed with acronyms; some are outlined, some aren’t. If it is advisable assessment acronyms in a Microsoft Phrase doc for any purpose, listed below are three approaches.

Illustration: Lisa Hornung, Getty Photos/iStockPhoto

Enterprise customers have it made when looking for acronyms and their definitions as a result of Microsoft Phrase’s newish Editor has that performance in-built. The remainder of us must work a bit tougher to seek out acronyms, and fortuitously there’s multiple means. 

SEE: 83 Excel ideas each person ought to grasp (TechRepublic)

An acronym is a sequence of initials used to characterize an extended phrase. For example, URL is not a phrase by itself, it is an acronym for Uniform or Common Useful resource Locator. On this article, I am going to present you 3 ways to focus on them in a doc.

I am utilizing Microsoft 365 on a Home windows 10 64-bit system, however you should use earlier variations. This text is not supported by Phrase On-line. You’ll be able to enter your personal content material, however in the event you obtain the demonstration .docm, .doc and .cls recordsdata, you will have fast entry to the code reviewed on this article.

1. Tips on how to use the Acronym pane in Phrase

The enterprise model of Microsoft 365 has a characteristic that lists acronyms for you within the desktop and on-line variations. To see a listing of outlined acronyms, click on the References tab. The Acronyms pane will present a listing of your outlined acronyms. By outlined, I imply the phrase the acronym represents. Once more, for URL, the pane would additionally show Uniform or Common Useful resource Locator. If you choose an acronym within the textual content, this characteristic will add the definition for you! In case you do not discover a definition, you may wait a couple of days to see if the characteristic updates accordingly, or you may outline it your self. This characteristic is out there solely with an enterprise license. 

2. Tips on how to use Discover in Phrase

If you do not have an enterprise license, you should use the Discover characteristic to focus on all of the acronyms in a doc. It is essential to notice that this methodology is not as good as you may assume as a result of it is going to spotlight any occasion of two or extra uppercase letters. Which means the outcomes may spotlight one thing aside from a real acronym. Now, let us take a look at a search string that you should use:

  1. Click on Ctrl + F or click on the Enhancing dropdown on the Residence tab to open the Navigation pane. From the dropdown (to the correct), select Superior Discover.
  2. Click on Extra after which test the Use Wildcards choice.
  3. Test the No Formatting choice on the backside if not dimmed. The Discover characteristic remembers the final Discover activity and if it consists of formatting, you may not get the anticipated outcomes. It is a good suggestion to all the time test this feature when beginning a brand new Discover activity.
  4. Within the Discover What management, enter <[A-Z]{2,}> (Determine A).
  5. Click on Studying Spotlight after which click on Spotlight All.
  6. Click on Near see the highlights proven in Determine B.

Determine A

wordacronym-a.jpg

  Full the Discover choices.

Determine B

wordacronym-b.jpg

  Spotlight all situations of two or extra uppercase characters.

This methodology has two flaws:

  • It highlights MD. Whilst you may think about it an acronym of kinds, you most likely will not need to spotlight it in any such search. In case you right it to M.D. (with durations), the Discover activity will ignore it.
  • All of the highlights disappear as quickly as you click on one thing.

This methodology will be extra irritating than useful as a result of the highlights aren’t everlasting. Now, let us take a look at a VBA process that has a extra everlasting consequence.

3. Tips on how to use a VBA process in Phrase

A fast spotlight is likely to be all you want, however more often than not, you will need one thing extra everlasting. The process in Itemizing A does the identical factor that the Discover string within the final part does. The one distinction is that it is everlasting till you take away it. You should use this identical code to take away the highlights by altering .Alternative.Spotlight to False.

Itemizing A

Sub HighlightAcronyms()

‘This process highlights all situations of two or extra

‘uppercase letters.

Choice.Discover.ClearFormatting

    With Choice.Discover

        .Textual content = “<[A-Z]{2,}”

        .Ahead = True

        .Wrap = wdFindContinue

        .MatchWildcards = True

        .Alternative.Textual content = “http://www.techrepublic.com/”

        .Alternative.Spotlight = True         ‘False to take away highlights.

        .Execute Substitute:=wdReplaceAll

    Finish With

Finish Sub

This code does precisely the identical factor as you probably did manually within the final part. It makes use of a search string to seek out all situations of two or extra consecutive uppercase letters. As earlier, generally the process will spotlight one thing that is not a real acronym.  

SEE: Home windows 10: Lists of vocal instructions for speech recognition and dictation (free PDF) (TechRepublic)

In case you’re utilizing a ribbon model, you’ll want to save the workbook as a macro-enabled file or the process will not run. In case you’re utilizing a menu model, you may skip this step. So as to add the process, press Alt + F11 to open the Visible Fundamental Editor. Within the Undertaking Explorer to the left, choose ThisWorkbook so you may run the process in any sheet. You’ll be able to enter the code manually or import the downloadable .cls file. As well as, the macro is within the downloadable .docm and .doc recordsdata. In case you enter the code manually, do not paste from this net web page. As a substitute, copy the code right into a textual content editor after which paste that code into the ThisWorkbook module. Doing so will take away any phantom net characters that may in any other case trigger errors.

After getting into the process, you should use it as follows:

  1. Click on the Builders tab.
  2. Click on Macros within the Code group.
  3. Within the ensuing dialog, select HighlightAcronyms() as proven in Determine C and click on Run.

Determine C

wordacronym-c.jpg

As you may see in Determine D, the acronyms are completely highlighted. To take away them, run Sub HighlightAcronymsRemove(), which is within the demonstration recordsdata. I did not embrace it within the article textual content, as a result of just one assertion modifications. Relying on the way you’re calling the process, you possibly can use one process and go the True/False worth as a Boolean.

Determine D

wordacronym-d.jpg

This spotlight will keep till you take away it. 

It is unlikely that you will need to work by means of all these steps each time you need to run the process. As a substitute, add the macro to the Fast Entry Toolbar. To take action, learn Tips on how to add Workplace macros to the QAT toolbar for fast entry.  

Additionally see

Source link