Automation of editing tables in Word