I created a timer
void Application_DocumentOpen(Microsoft.Office.Interop.Word.Document Doc) { System.Timers.Timer timer=new System.Timers.Timer(30