Extendable class for Word and Excel