PDA

View Full Version : Solved: How to use UI Editor with Word VBA and two macro buttons



Michelle S.
12-02-2010, 05:58 PM
I have two macro buttons. Both were put into the Word Ribbon with UI Editor and both work fine. They are located in two separate Word documents. I am very new to VBA and UI Editor and am just beginning to learn and that is the reason why I don't know exactly how to combine them, the two ribbon macros, into one document. How does that work?

gmaxey
12-03-2010, 02:42 PM
Michelle,

I don't really know why you are using two separate documents to create your Ribbon XML and VBA callbacks. Put the XML and callbacks for both controls in one template file and load the template file (either manually or automatically by placing it in Word's start up folder).

Michelle S.
12-06-2010, 09:56 AM
Thank you, I solved it by just trying to add the other template info into the UI Editor, tried till it fit. I was lucky! :)
I would like to ask you for your professional assistance starting this week. Please shoot me a message with your rates, if you like.