I am opening a word document as follows

Case "doc"

objWord = CreateObject("Word.Application")

objDoc = objWord.Documents.Open(OFD1.FileName)


rtbText.Text = objWord.Selection.Text



My question is, how after the document has been changed, can I save it as a word document keeping all its formating

Re: Visual Studio Tools for Office Save a word document

Cindy Meister


It's also possible to specify saving as an argument of the Close and Quit methods - read the object model help.

Since your questions have nothing to do with the VSTO technology - the topic of this forum - but are aimed at general Word automation, please ask new and follow-up questions in the office.developer.automation newsgroup.