Usually good manners to post a LINK to other peoples code or at least add a reference to where it came from.
In any case that code is for pre 2007. There's no simple way to do this with the new style tables in 2007 onwards. You would need to copy each attribute eg fill, border, text size etc and apply it to the new tables UNLESS you want the new tables to take on one of the existing Microsoft styles when it is a lot easier.
|