Hello everyone, how can I batch modify the font format of word documents? The title is unified as format 1, and the article content is unified as format 2. Thanks a lot.
Hello everyone, how can I batch modify the font format of word documents? The title is unified as format 1, and the article content is unified as format 2. Thanks a lot.
Is there a reason why you have posted in the Excel section? Shall I move it to the Word section for you?
Ali
Enthusiastic self-taught user of MS Excel who's always learning!
Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.
NB: as a Moderator, I never accept friendship requests.
Forum Rules (updated August 2023): please read them here.
ok, thanks , I don't know where to find word section. could you give me the link
I have moved the thread. The Word VBA forum is here: https://www.excelforum.com/word-programming-vba-macros/
It doesn't help that all the text in your example document uses the 'Normal' style. How would you define what is a title and what is body text?
Thank you for your answer. Maybe my example is wrong. The result I want is that the font format of the title is inconsistent with that of the paragraph. For example, the title is unified in font size 3, and the text segment is unified in font size 4. thank you.
Last edited by AliGW; 06-04-2022 at 10:21 AM. Reason: PLEASE don't quote unnecessarily!
If your example is wrong then, sorry, but I can't help.
All the text in the sample 'file.docx' is formatted using the Normal style with the font set to DengXian (Body) and sized as 10.5pts. There is no way to differentiate a title from the document body.
What's the favour ...?
At the very least, you should learn how to use Styles in Microsoft Word. All text content in Word employs Styles - you just happen to have applied the 'Normal' Style to everything. Try choosing a different Style for your Titles (e.g. a Heading Style) and how to format a Style to match your requirements.
Not unless you've already made them that way - and have done so in a consistent manner.
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks