View Single Post
 
Old 09-04-2023, 02:33 PM
Journeyman Journeyman is offline Windows 10 Office 2019
Novice
 
Join Date: Feb 2023
Posts: 15
Journeyman is on a distinguished road
Default

Hey Andrew and thanks for your input.

I ran with this and used

Code:
rngElement.innerHTML = "<P Class = MsoListNumber>Test</P>""
This inserts a <P> Tag into a <Li> tag. On the WebBrowser side this allows for the List Number, and in the word side, this allows for the Style to be picked up.

It's fine on the word side, since word picks up all the intended styles and applies them, however, on the webbrowser side, lists do not provide for sublists that include parent list numbers - unless you write the class into the /<head>.

In any case, it's workable and functions as required.

Thanks again for input.
Reply With Quote