protected void Button2_Click(object sender, System.EventArgs e)
        {
            DateTime dated;

            dated = DateTime.Now;

            try
            {
                test = new CCWordApp();
                test.Open(ConfigurationSettings.AppSettings["WordMod"] + "table.dot");

                test.GoToTheTable(1);

                test.GoToDownCell();
                test.InsertText(Riga1Text1.Text);
                test.GoToRightCell();
                test.InsertText(Riga1Text2.Text);
                test.SaveAs(ConfigurationSettings.AppSettings["WordDoc"] + DocName.Text + ".doc");
                // Save in html format
                test.SaveAsHtml(ConfigurationSettings.AppSettings["WordDoc"] + DocName.Text + ".html");
                test.Quit();
            }

            catch (Exception exc)
            {
                StatusMessage.Text    = exc.Message;
                StatusMessage.Visible = true;
                test.Quit();
            }
        }