How can I write an Microsoft Word macro to remove occurrences of the All Caps font attribute and replace the affected text ONLY with real capital letters leaving other text unchanged?
-
-
Answer:
Use Word's find option instead. On the menu bar click Edit, and Find. In the Find what box type an asterisk (*) [without the parentheses], tick Use Wildcards, under Format (if you can't see Format click the More button), select Font and tick All Caps. This looks for all content (*) that has All Caps font setting applied to them. Also in the find tab Word has an option that says "Highlight all items found in" this actually selects all items in the find box. Tick that option and click "Find All" Close the find dialog box but don't click anywhere in your document otherwise you will deselect the words you have just found. On the menu bar go into Format, Change Case and select Upper Case. This will remove the All Caps but the text will still be in upper case. This would not work in a Word 2003 Macro, because the macro recorder does not record the formatting. This works in Word XP and Word 2003 but in Word 2007 Microsoft have changed the "highlight all items found" to a proper "highlight" option rather than select :(
wiki.answers.com Visit the source
Related Q & A:
- how can I write this shell script in python?Best solution by Stack Overflow
- How can I write a good reference letter?Best solution by dailywritingtips.com
- How can I write an interview essay?Best solution by Yahoo! Answers
- How can I write to oprah winfrey?Best solution by wikihow.com
- How can I write my college essay?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.