J
James Slade
Hi guys,
I need to convert an HTML file to text (i need the contents of the HTML, not
the tags) using VB
Automating Office 2000, this is fine using:
objWord.ActiveDocument.SaveAs strNewFilename, wdFormatText
But when this code runs on Word 2003 I get a dialog pop up in word which
says:
Some of the features in this document aren't supported by Microsoft Office
Word Document.
It then goes on to say:
'Linked style sheets are only supported in web format files. By saving to
this formay, all links to style sheets will be lost.'
If I click continue, the document is saved as a text file, but obviously i
don't want the dialog to pop up each time.
Is there a way of supressing the dialog?
Thanks
James Slade
I need to convert an HTML file to text (i need the contents of the HTML, not
the tags) using VB
Automating Office 2000, this is fine using:
objWord.ActiveDocument.SaveAs strNewFilename, wdFormatText
But when this code runs on Word 2003 I get a dialog pop up in word which
says:
Some of the features in this document aren't supported by Microsoft Office
Word Document.
It then goes on to say:
'Linked style sheets are only supported in web format files. By saving to
this formay, all links to style sheets will be lost.'
If I click continue, the document is saved as a text file, but obviously i
don't want the dialog to pop up each time.
Is there a way of supressing the dialog?
Thanks
James Slade