Hello Everybody, I am trying to get and set the following information from File/Open save dialog of Microsoft Office 2000/2003/2007 1.Retrieve the currently displayed/selected folder path and also the file name that is selected if any. 2. Retrieve the selected file path, when the user clicks the open or save button. 3.Set a pre-defined string path within the file-name combo box. I have been able to do the above task in case of File Open/Save common controls dialog(used by WordPad ,Notepad, Acrobat Reader etc.) by using the dialog functions depicted in MSDN. But it is not working with Microsoft Office Dialog and I have found no MSDN documentation that depicts the internal messages of Microsoft Office Dialogs. Please help me if you can. Thanks and regards,
Hi Juggernaut The following two articles should get you on your way. Intercepting events like Save and Print http://www.word.mvps.org/FAQs/MacrosVBA/InterceptSavePrint.htm Note: Saving is covered in that article. You'll need the FileOpen command to trap opening. Getting help with calling Word's built-in dialogs using VBA (and why doing so can be much more useful than you'd think) http://www.word.mvps.org/FAQs/MacrosVBA/TaskPanesReference.htm Hope this helps. Shauna Kelly. Microsoft MVP. http://www.shaunakelly.com/word "Juggernaut" wrote in message news:621876B9-F221-45D6-974F-989CC2970A20@microsoft.com... > Hello Everybody, > > I am trying to get and set the following information from File/Open save > dialog of Microsoft Office 2000/2003/2007 > > 1.Retrieve the currently displayed/selected folder path and also the file > name that is selected if any. > > 2. Retrieve the selected file path, when the user clicks the open or save > button. > > 3.Set a pre-defined string path within the file-name combo box. > > I have been able to do the above task in case of File Open/Save common > controls dialog(used by WordPad ,Notepad, > Acrobat Reader etc.) by using the dialog functions depicted in MSDN. But > it > is not working with Microsoft Office Dialog and I have found no MSDN > documentation that depicts the internal messages of Microsoft Office > Dialogs. > > Please help me if you can. > > Thanks and regards, >