L
LMC
Hi,
Is there somebody who would have an answer to this problem?
I would like to insert automatically in a Word document several HTML files.
These files are in a network directory.
If I do this manually, I go to "Insert" then "Files", then look for HTML
files and finally Ok, then start again for a new one and so on ...
The code could be something like this (but I would like to take all the
*.htm files .):
Sub InsertHtml()
'
Selection.InsertFile FileName:="\\SERVER\Directory\Dir1\info.htm",
Range:="", _
ConfirmConversions:=False, Link:=False, Attachment:=False
End Sub
The user should also give the directory target where all the HTML files are.
Any help ?
Thanks in advance.
LMC
Is there somebody who would have an answer to this problem?
I would like to insert automatically in a Word document several HTML files.
These files are in a network directory.
If I do this manually, I go to "Insert" then "Files", then look for HTML
files and finally Ok, then start again for a new one and so on ...
The code could be something like this (but I would like to take all the
*.htm files .):
Sub InsertHtml()
'
Selection.InsertFile FileName:="\\SERVER\Directory\Dir1\info.htm",
Range:="", _
ConfirmConversions:=False, Link:=False, Attachment:=False
End Sub
The user should also give the directory target where all the HTML files are.
Any help ?
Thanks in advance.
LMC