Quantcast
Channel: Word for Developers forum
Viewing all articles
Browse latest Browse all 4350

Automatically install a macro with a toolbar button

$
0
0

I have written some macros for a friend, using Word 2010. I was careful to store the store the macros in the document (a MS Word 2003 template). I assigned the macros to buttons in a new group on the ribbon. After I had delivered the file, I realised that the macros were stored in the template (as I expected), but the ribbon changes were stored in Normal.dotm (not what I expected). I do not want to give my Normal template to the friend - it contains personal stuff and I do not want to overwrite any customisations he has.

Is there a way to automate the creation of the buttons? My friend is non-technical and I do not want him to have to use the Customise feature. Also, I would like a consistent interface as the template may be shared further. It would be nice to have an installer that creates the macros and the buttons to use them.

Thanks.


Viewing all articles
Browse latest Browse all 4350

Trending Articles