Thread: HTML Copy
View Single Post
 
Old 08-10-2020, 05:23 PM
Guessed's Avatar
Guessed Guessed is offline Windows 10 Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 3,977
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

How about you do this without VBA as it is far easier?

Go to Insert > Object > Text from File. This will open a file dialog and you can select all the HTML files and click OK to import them all in one step.

You can record this to see what the macro might look like and build up your code from that base. You will find plenty of batch macros on this forum.
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote