Im wanting to use WORD automation to save a WORD doc in a different format say text or unicode etc.

I have created the files from create class from typelib etc, can create my doc etc.

But I want to specify the parameter for the format in the SaveAs method for the document object.

In the documentation it is of type wdsaveformat

In the SaveAs method of the document object it is just variant and an enum of type wdsaveformat
is not present in any of the files created from the typelib.

How can I specify the format parameter for the saveas method of the document object?