Solved: Help searching document for Character Styles
Hello!
After geekgirlau did an amazing job of cracking the "copy paragraph styles to excel" nut,
vbaexpress.com/forum/showthread.php?t=42286
I realized that the actual scripts use custom character styles, not paragraph styles, because there are paragraphs that contain several different character styles.
For example, a paragraph will have a sentence highlighted in red to show a video shot, followed by a sentence with a vocabulary word highlighted in blue. The red highlight is a custom character style called "Activity Footage" and the blue highlight is a custom character style called "New Word".
Here's my question:
Using the "Activity Footage" style as an example, Is there a way to search each paragraph for character styles? Then copy sentences with the same style to excel?
Or would I have to search each word in the document for the "Activity Footage" style?
If I have to search each word, then I would have to figure out a way to put together sentences with the same style before copying them to excel. I wouldn't want to copy each word into a different cell in excel.
Apologies for the long post! Thanks!