Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #5  
Old 08-17-2023, 09:03 PM
Journeyman Journeyman is offline HTML Class to Word Styles Windows 10 HTML Class to Word Styles Office 2019
Novice
HTML Class to Word Styles
 
Join Date: Feb 2023
Posts: 15
Journeyman is on a distinguished road
Default

Okay, awesome. This is great followup information.

I am in fact writing from an Access webbrowser control to word. This functionality is fine - VBA.

It happens that after I tested how this works (thanks to your response) I discovered that I would have to assign the classes to each paragraph in the html before importing - which I didn't think about until after the fact.

My guess is that I will have to do some string manipulation to find and replace <p> tags with <P Class="msoBodyText">Ect...</p>". although I think there's a way to change attributes... but not yet sure where this rabbit hole will go.

In any case, this info you've given is very valuable, and much appreciated. Thanks tons!
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
HTML Class to Word Styles 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
HTML Class to Word Styles Turn off an Initialized Class ilcaa72 Word VBA 3 05-01-2017 07:13 PM
HTML Class to Word Styles Self-created styles in Word to appear when converting to HTML anapat Word 2 05-11-2013 09:40 PM
Evernote--Class Notes markg2 Outlook 0 05-10-2012 05:50 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

Other Forums: Access Forums

All times are GMT -7. The time now is 07:28 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft