Macro Change font size

E

Eran

Having 1000’s of pages to go through, I am seeking advice how to by an
application of a macro, change existing font sizes of 8 and 10 to 10 and 12
respectively.

10 Sub A()
15 If Font size 10 then
20 Font size 12
25 Or
30 If Font size 8 then
35 Font size 10
40 Else
45 Save
50 End if
55 Else
60 Save
65 End if
70 Save
75 End Sub
 
G

Graham Mayor

You asked this yesterday. Look at the previous thread. However, this type of
exercise shows the wisdom of using styles to format your documents. Had you
used styles, it would have been a very simple job to modify the styles
involved to change the font size and your document would have followed.

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
E

Eran

Graham
Apologies for double posting; I could not find my original posting - hence
making a nuisance of my self.
I did however try “Style†etc but being the novice that I am, and having
1000’s of documents I found it very frustrating to continuously recreate the
identical style over and over again for every document as the already created
Style disappears every time I close the respective document.
Hence my attempt to Macro the routine.
regards
Eran
 
G

Graham Mayor

Your original thread is at
http://groups.google.co.uk/group/mi...gement/browse_thread/thread/1d3c946c0d23ec89?
As for the styles. If you use common style names for common paragraph
layouts and save them in the document template, it is easy to apply changes
to those styles to existing documents that use those style names. Word is a
style based application. You cannot avoid using them so you will save
yourself lots of time and frustration by learning to use styles properly.

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top