
10-08-2014, 09:53 AM
|
Novice
|
|
Join Date: Oct 2014
Posts: 4
|
|
Deleting all text except text of a certain font size
Background/Context:
For work, I frequently need to read long PDF's. I don't need to read them for perfect comprehension and I am capable of listening to content at a much faster speed than I can read it myself. I have a text to speech program I am happy enough with (Text Aloud). The problem is that the PDF's are heavilly footnoted, and I do not want to include the footnotes in the audio. The solution I have found is to convert the PDF to word. The word versions include the footnote text as regular body text (i.e. not in the footer), but put them in smaller font than the body text. The exact font size varies (even within the same document), do to imperfect OCR comprehension. Question: I understand how to use wildcards ^? and formatting rules to replace all text of a certain format with nothing and thereby delete it. How can I use VBA or some other feature, to remove ALL text that is NOT of a certain formating trait, within manually running the replace function many times?
Last edited by JustAboutNoon; 10-08-2014 at 10:03 AM.
Reason: formatting
|