![]() |
|
#5
|
||||
|
||||
|
I'm not very elegant so I would be running a String Replace function on the entire html string
Code:
Find: <LI Class=MsoListNumber> Replace with: <LI Class=MsoListNumber><P Class=MsoListNumber> and Find: </LI> Replace with: </p></LI> Or if you didn't need the nested tags you could replace <LI and </LI> with <P and </P> respectively
__________________
Andrew Lockton Chrysalis Design, Melbourne Australia |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
HTML Class to Word Styles
|
Journeyman | Word VBA | 4 | 08-17-2023 09:03 PM |
Displaying in the Styles Pane Only the Styles You Actually Use -- Which Was a Snap in Word 2003
|
RobertB | Word | 4 | 08-09-2022 09:29 AM |
| Locking styles in Word using VBA to restrict new styles | cadillac1206 | Word VBA | 1 | 04-21-2020 01:08 AM |
Self-created styles in Word to appear when converting to HTML
|
anapat | Word | 2 | 05-11-2013 09:40 PM |
| Can you actually write HTML and CSS in a word document and send it as an html page | jackaroo | Word | 0 | 07-12-2010 07:49 AM |