As explained in the thread you got the code from:
https://www.msofficeforums.com/word-...fic-words.html
Quote:
The macro ... deletes any frames whose tops are located within -4 to +36 points vertically from the frame containing the found text. You may need to adjust those values.
|
In this case, you might need to reduce the 36 to, say, 33 or 30.
Instead of getting reports that don't really meet you needs and require considerable massaging afterwards, I really do think you should be looking at getting some new reports that actually reflect your requirements.