Hi,
I wrote a little application that reads file names from a database table where it is linked to a 'Manual Doc Code' in a specific sequence.
I want to use Word as the report writer to print these fiels in the sequence that they are linked.
With .doc files this works perfectly using Word.Application and Word.Document objects.
However, when I try to print an .html file, I get the VBA error message: "Type Mismatch".
How can I tell VBA and Word.Application that it is ok to open and priont a .html file ?
I have tried FileConverters. Although I can save a file from within Word as a 'Web Page', VBA tells me that 'Web Page' is not a valid file converter.
Any help will be appreciated.
Phlip
I wrote a little application that reads file names from a database table where it is linked to a 'Manual Doc Code' in a specific sequence.
I want to use Word as the report writer to print these fiels in the sequence that they are linked.
With .doc files this works perfectly using Word.Application and Word.Document objects.
However, when I try to print an .html file, I get the VBA error message: "Type Mismatch".
How can I tell VBA and Word.Application that it is ok to open and priont a .html file ?
I have tried FileConverters. Although I can save a file from within Word as a 'Web Page', VBA tells me that 'Web Page' is not a valid file converter.
Any help will be appreciated.
Phlip