Thank you for your reply. I am using word express. Not sure I can use this code. The only option I have it to browse to the path for the input document and the path for the output document.
Here is the path for the word document I am converting.
C:\Users\James\Documents\Writing\Jake Montana\matter of destiny\A Matter of Destiny.doc
the document name is A Matter of Destiny, which should be the name of the ePub book. But it still comes up as untitled.
Thank you so much. I never knew about changing the title in the document properties. It worked.