support version earlier than word 2010
update bas file: support word 2007 and earlier