Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #19  
Old 02-09-2020, 01:48 PM
kingsinger kingsinger is offline Macro to highlight unused definitions and undefined terms Windows 10 Macro to highlight unused definitions and undefined terms Office 2013
Novice
 
Join Date: Feb 2020
Posts: 10
kingsinger is on a distinguished road
Default A few questions and comments

Hey I know this thread is kind of old, but I'm trying get this macro working, as it would be very helpful to me. Has anybody had any of these issues:

1. Macro seems to complete correctly when the definitions are wrapped in straight quotes, but when smart quotes wrap the definitions, the definitions file is empty and none of the quoted terms have been turned red.

2. Perhaps this search logic would be too complicated, but it seems like the current logic doesn't account for definitions that might have a period or comma inside the quote (e.g., There are two terms: "Term 1," and "Term 2.")

In those cases , the search thinks that the definition is missing closing quote and makes a comment.

3. I'm a little unclear about how I would use the definitions file (or some other external file) to search for instances of the definition that are not capitalized. Should I be looking for a different macro to accomplish that.

4. For anyone else who is confused about how to engage this macro sequence, you want to start with this macro: "annotate_definitions_in_a_doc"

This macro is actually a series of different macros. If it's they are the only macros in your module, they'll sort in alpha order, with each macro contiguous to the one before it and their relationship will make sense. But if you've got a bunch of other macros, the various macros in this sequence will be interspersed within a large alpha order.

For a relative newbie, like myself, this was confusing, because I was used to a macro being a singular script, not a series of different ones linked together in a chain. I'm sure this is a smart way to build something like this. It was just a little confusing.

I use a couple of word add-ins that run word macros, and it looks like those developers pre-fix each of their scripts with an abbreviation like TFT, so all of the related scripts sort together in one place.

Anyway, I'm sure all of this obvious to experienced people, but for anybody who isn't perhaps it will help you get up and running with what seems like a great macro if you need this functionality.

TIA for any help on this!

KS
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro to highlight unused definitions and undefined terms Macro that deletes unused styles thejollyroger Word VBA 14 12-04-2017 09:00 AM
Macro to highlight unused definitions and undefined terms Best Practice for Indexing Multiple Word Terms and Sub-Terms jhy001 Word 4 11-06-2017 02:08 PM
Macro to highlight unused definitions and undefined terms Macro Question: Need help making a macro to highlight the first word in every sentence LadyAna Word 1 12-06-2014 10:39 PM
Wild card to highlight capitalised terms? bertietheblue Word 2 02-08-2013 04:44 PM
find - reading highlight - highlight all / highlight doesn't stick when saved bobk544 Word 3 04-15-2009 03:31 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 11:02 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft