Word SaveAs dialog problem

N

Nishanth

Hi,
I have written a VB application in which I am creating a Word document.
Inbetween while formatting the document I call the
method ---> objWordDoc.Save
objWordDoc is the Word.ActiveDocument
the word document is not supposed to be shown in the window.
I have initally called the objWordDoc.SaveAs method giving the name of
the file that it has to save to.
But when I call "objWordDoc.Save" method afterwards Word opens up a
"SaveAs" dialog giving a document name as "A6.doc"
How do I prevent word from showing this "SaveAs" dialog?
 
B

Ben M

Strange,

I get no prompts at all when doing:

activedocument.saveas (pathandfilename)
activedocument.save

Can you confirm that the saveas worked.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top