Thread: [Solved] VBA to open files in Word
View Single Post
 
Old 07-26-2011, 05:47 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,962
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Hi Luciana,

The code in the link goes through all the .doc files in a folder chosen by the user, processes them, then saves the output to another folder.

For your purposes, the requirements are similar, except that the processing consists of copying content from the opened html files to another file. the requirement to process the files in a particular order does potentially complicate things - it all depends on whether the order they'd be opened in by default matches your required order.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote