View Single Post
 
Old 03-03-2024, 02:30 PM
ladracer ladracer is offline Windows 10 Office 2010
Novice
 
Join Date: Mar 2021
Posts: 18
ladracer is on a distinguished road
Default Need a count for 4 specific "non-words". How would I accomplish this?

Hats off to both Mr. Maxey and Mr. Edstein for their word count macros.

I tried both and as wonderful as they are, they don't seem to work for my admittedly obscure situation.

I am looking to get a "word count" for eight jinja expressions, specifically: % if, % elif, % else, % endif, %p if, %p elif, %p else, and %p endif.

Ideally this could be accomplished in batch. That is, I direct the macro to a folder and it processes each of the .docx files in the folder and spits out a table with the name of the document in column 1 of a row and the corresponding word counts (for the 8 expressions) in columns 2-9.

Is there a means to force the Word Usage and Frequency Report Macro to do this, or if not, a relatively easy means to convert Mr. Edstein's macro to accomplish this?
Reply With Quote