I'm a newbie, and I've searched and I've searched, and I have not found an answer to this question:
I have a vb program that is writing to a Word Document. What I would like to do is automate the naming of the document on the SaveAs function so that it takes the name of the document from a textbox.
Is there any way to insert txtName.text as the filename where the question marks are?
Thanks for the help!Code:.ActiveDocument.SaveAs App.Path & "C:\My Documents\ ????




Reply With Quote