macros can only be used with the app in which they were developed.
there ways to develop general code libraries, or com add-ins, that can at
least partially work across office apps, but in tee end, word code only
works in word, excel code only works in excel.