Try
oDlg = Dialogs(wdDialogFileSaveAs)
oDlg.Name = lcSaveAsName
oDlg.Show()
>
>I have a foxpro application that creates a word document. within foxpro, i change the "title" of the word document by issuing:
>
>oword.activedocument.builtindocumentproperties("title").value = "newtitle"
>
>now, in word, when the user does "save as", i want the name "newtitle" to be in the dialog box as the title to save it as. It isn't. the save dialog box lists the name as the first couple of words in the document. i check the document properties and the title has been changed to "newtitle", but saveas isn't affected.
>
>I've done some looking into this and found that MS has a workaround by issuing a change to the "dialogs" object, but I can't seem to get that code to work.
>
>Does anyone have any suggestions? Thanks.
>
>Paul
--sb--