Hi,
I am trying to write a VB script to save a specified microsoft word document as htm (filtered html) format. But I am getting an error. Could anyone please look into the syntax. I am not very familiar with VB so not sure whats wrong.
oDoc.SaveAs folderToSave & curFileName & ".htm", 10
The system complains "could not execute above command".
If I remove the ", 10" part it works, but since I need to save it in html, it needs to be there otherwise it saves in doc format.
Thanks in advance,
Samit
I am trying to write a VB script to save a specified microsoft word document as htm (filtered html) format. But I am getting an error. Could anyone please look into the syntax. I am not very familiar with VB so not sure whats wrong.
oDoc.SaveAs folderToSave & curFileName & ".htm", 10
The system complains "could not execute above command".
If I remove the ", 10" part it works, but since I need to save it in html, it needs to be there otherwise it saves in doc format.
Thanks in advance,
Samit