private void Btn_InsertTableInWorldDocument_Click(object sender, EventArgs e) { string[,] data = { { "Row 1, Col 1", "Row 1, Col 2" }, { "Row 2, Col 1", "Row 2, Col 2" }, { "Row 3, Col 1", "Row 3, Col 2" }, }; Helper_Word.WDAddTable(Word_Location, data); }
private void Btn_RetrievePlainText_Click(object sender, EventArgs e) { Tbo_ExcelLog.Text += Helper_Word.WDRetrieveText(Word_Location) + Environment.NewLine; }
private void Btn_GetWordCreationDateTime_Click(object sender, EventArgs e) { DateTime?created = Helper_Word.WDGetCreationDate(Word_Location); AppendTo_ExcelLog(created.ToString()); }