CJane
08-03-2012, 05:05 PM
I have a document with dozens of paragraphs that begin with the letters FR followed by 5 numbers, e.g., FR56789. The paragraphs' font is Arial, 12 pt.
I want to go through the document, find every instance of "FR^#^#^#^#^#", and change the font of each instance to Arial Narrow, 10 pt.
I have some coding experience but I am new to VBA. Using the Record Macro capability, I can change the format of the first instance, and by trying to incorporate code from some examples, I've actually been able to change every other instance, but I have no idea why it's every other one!
Rather than sharing my feeble attempts, I'll just throw this cry for help out to you experts.
I want to go through the document, find every instance of "FR^#^#^#^#^#", and change the font of each instance to Arial Narrow, 10 pt.
I have some coding experience but I am new to VBA. Using the Record Macro capability, I can change the format of the first instance, and by trying to incorporate code from some examples, I've actually been able to change every other instance, but I have no idea why it's every other one!
Rather than sharing my feeble attempts, I'll just throw this cry for help out to you experts.