It's a useful utility. Thanks. Some comments though:
1. Keyword "end" is mistakenly highlighted in situations, such as A(10:end).
2. In Matlab 5.3, when the codes are copied from the Matlab Editor to Word, the codes are shown in color. Why is this feature lost in version 6.1 and above? Does Mathworks plan to resurrect this feature? (You wonder why good things do not last)
3. A Matlab code, which copies .m file to Word with proper syntax highlight, would also be useful.