View Single Post
 
Old 06-24-2021, 07:27 AM
chrscote chrscote is offline Windows 7 64bit Office 2010 64bit
Novice
 
Join Date: Aug 2016
Posts: 12
chrscote is on a distinguished road
Exclamation Trying to copy text from HTML file into Word using VBA

I have a script that creates an HTML page on the desktop containing just text with break tags and some bolded text only. It does not contain any tables. What I'd like to do is copy the text that is in the HTML page using a .docm file, that contains fields for date and baseline, with a VBA script. I've been searching a bunch of forums, but they all have text in tables. How do I take the simple text with bold from the HTML page on the desktop and paste it into the docm file and save it with a specific name?


Chris
Reply With Quote