Prev: Apply-user-defined table style only to tables with no vertically merged cells
Next: Background picture doesn't display when taking copy off of a Word template
From: Klaus Linke on 28 Mar 2010 20:11 Hi Mojo, > I couldn't find any other solution that would enable me to set the > filename box when a user goes to save as on my document. Not sure what WordBasic code you currently use, but what I posted in the other thread should set the "Title" built-in document property: ActiveDocument.BuiltInDocumentProperties(wdPropertyTitle)="Report 12-5-10" Do your users have to fill out the Properties dialog? In Word 2003, that dialog does not have a wdDialog constant... The needed constant is 750: Dialogs(750).Show If you've set the Title property before, the file name you've given should appear in the dialog. You could also intercept the FileSaveAs command, and put your chosen file name in that dialog before the user sees it. You could also make doubly sure by checking the file name right before the file is closed, in a Sub FileClose() I haven't done stuff like that for a long time, so I'm probably missing things. You should find useful articles and tips on the word.mvps.org site or in the Microsoft knowledge base, such as maybe http://word.mvps.org/faqs/macrosvba/SetDefFilename.htm http://word.mvps.org/FAQs/MacrosVBA/InterceptSavePrint.htm Klaus |