Hi There,
Im trying to insert a html file into a word doc, his works fine if I do it manually through word, or even a macro. However Im attempting to do this through COM from php, eg:
$word->Selection->InsertFile($tempWord);
However, word now doesnt pick this up, it just outputs the text in a garbled mess, with none of the html formatting (eg tables etc)
Many thanks if anyone has any ideas why this might be.
Im trying to insert a html file into a word doc, his works fine if I do it manually through word, or even a macro. However Im attempting to do this through COM from php, eg:
$word->Selection->InsertFile($tempWord);
However, word now doesnt pick this up, it just outputs the text in a garbled mess, with none of the html formatting (eg tables etc)
Many thanks if anyone has any ideas why this might be.