Hi, I am using vb6 to manipulate my word 2003 template .dot and save it into .doc.
My current method is:
I am creating I word class, called W.
then I use:
W.activedocument.SaveAs "documentname.doc", 0, 0, "". 1, "", 0, 0, 0, 0, 0
It can be used perfectly for word 2003.
But when I use it in word 2007, I got a problem.
It seems that all the manipulation in .dot file can be done.
But when I try to save that new document as "documentname.doc", I cannot do it.
I think, it is because word 2007 has .dotx and .docx as a default format.
I tried to save my .dot template as .dotx. Then my program opened it, manipulated it and saved my document as "documentname.docx"
But I still could not save it.
What should I do?
thanks a lot