Change fonts in many documents

P

Polli

I would like to change all my Word documents to a new font. Is there a way
to do it without opening each document to make the change and save? Maybe a
batch command?

Thanks!
 
A

alborg

Dear Polli:

There is no way to change the fonts or to do any other formatting in a
document that is not opened, but you can do something using VBA macros that
can achieve something very similar.

You would need to first open any of the Microsoft Word documents, then click
on the Visual Basic Editor icon. Now click on Normal-> Microsoft Word
Objects-> ThisDocument, then in the code screen put in its code section begin
a subroutine with the title "Private Sub Document_Open()". Press <Enter> and
VBA automatically puts in the phrase "End Sub". All you need now to put in
the code that will be invoked when every document based on normal.dot is
opened.

You would then open Windows Explorer, highlight all the documents that you
wish to change fonts, right click on them, then select "Open". As each
document is opened, the document_open routine will be invoked in the fonts
will be changed without any effort on your part.

Questions:

1) What Version of Microsoft Word are you working with?
2) Have You ever worked with VBA macros?
3) How many documents are we working with here?

Once we have the answers to these questions, we can proceed further on the
exact code that you would need to change your fonts.

Cheers,
Al
 

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