AlexYo Posted March 10, 2010 Share Posted March 10, 2010 HelloCan anyone help me with handle events when user click "New".I need to trap this action and if some condition = true show Word 2007 "New document" dialog and if not do my action.I try to create macro with name "FileNew" and it executed after user click "New" in Word, but then standard "New Document" dialog not shows up. I try to call Dialog(wdDialogFileNew).show but it show old dialog that was used in Word 2003.So I need find way to show NEW standard "New Document" dialog or handle click to command menu - "New"Thanks Link to comment Share on other sites More sharing options...
Martin L Posted March 27, 2010 Share Posted March 27, 2010 (edited) i think you mean this... (templates). let me know if this worked out for youmartin Edited March 27, 2010 by Martin L Link to comment Share on other sites More sharing options...
spacesurfer Posted March 29, 2010 Share Posted March 29, 2010 You need to REPURPOSE the New command buttons. Search on this. You'll have to assign the repurposed macro to the ribbon by customizing the ribbon. See pinned topic on how to modify the ribbon by me. Can't help much more than that since I haven't had a need to repurpose commands but I believe that's what you're looking for and can be found by googling! Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now