views:

26

answers:

1

Can I link in external code to a Word document? I have a lot of word documents with macros (VBA-code). All with the same code. I would like the code to be run from an external source instead of from within all of those documents. That way, if I have to update the code, I only have one place where I have to do the update.

+1  A: 

Move the code to the attached template, then the macros are available in all documents based on that template.

0xA3
Thaks for the answer! Is that the only way to do it? We´re in a platform where we sometimes experience problems when we use other teplates than normal.dot.
Daniel
If you want to use VBA code, that's about it. You could convert the code to a word Plug in (VB6 or any .net lang can do that), but that might be beyond what you're really needing.
drventure