Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Change fonts in many documents
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! |
#2
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Change fonts in many documents
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 "Polli" wrote: 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! |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Embedding fonts in documents | New Users | |||
change fonts in multiple documents | Microsoft Word Help | |||
HOW TO CHANGE FONTS FROM DEVICE FONTS? | Microsoft Word Help | |||
How to change fonts on labels | Microsoft Word Help | |||
How do I change fonts in autocorrect? | Microsoft Word Help |