Helo all..
In my document i need to change specific font height. for example i want to select 13.5 height text, after selected i want to change/modify 13.5 to 10 height. please suggest solution.
Helo all..
In my document i need to change specific font height. for example i want to select 13.5 height text, after selected i want to change/modify 13.5 to 10 height. please suggest solution.
Worksheet selection change even the set font.size to the the values you want and after that reset it
---
Hans
"IT" Always crosses your path!
May the (vba) code be with you... if it isn't; start debugging!
If you like my answer, Click the * below to say thank-you
Keebellah: Your reply has nothing to do with the OP's question.
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
structo: You can do that with a simple Find/Replace, without even selecting anything. Or you could employ a simple macro like:
Note that the above code doesn't check the current size. You could assign such a macro to a keyboard shortcut.Please Login or Register to view this content.
Otherwise, if you really want something to happen on the basis of making a selection, you'd need to implement a WindowSelectionChange event, for which see: https://wordmvp.com/FAQs/MacrosVBA/AppClassEvents.htm
For PC macro installation & usage instructions, see: http://www.gmayor.com/installing_macro.htm
What do you suppose "Worksheet selection change" has to do with a Word question???
Hi,
Thank you for reply..
as per your code nothing happening (Nothing selected) in my file.
my question is simple. i have 200 pages word file. it contains several type of font sizes like 13.5, 14, 16 etc...
my requirement is select all 13.5 size font and after that this font should be changed to 10 size font ( 13.5 to 10).
so how i find all 13.5 sized font and how to change as 10 by single attempt.
Yes I want to know how to find and select all 13.5 sized font?
As I have said before, you don't need to select anything. Just use a Find/Replace, where:
Find font size = 13.5
Replace font size = 10
You don't need to specify any Find or Replace text or have anything selected.
ok Thank you macropod.
@macropod: true,sorry, but If the questionnaires is in the excel VBA macros section and it’s late, welk, i stand corrected
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks