Hi,
I have a code for removing table borders.
A also have to align text to right in right column.
Here is the code:
try
{
var wordApplication = new Microsoft.Office.Interop.Word.Application() { Visible = true };
var myDocument = wordApplication.Documents.Open(in_FilePath);
Microsoft.Office.Interop.Word.Table finalReportTables = myDocument.Tables.Cast<Microsoft.Office.Interop.Word.Table>().ToArray();
Microsoft.Office.Interop.Word.Table firstTable = finalReportTables.First();
myDocument.Save();
wordApplication.Quit();
}
catch( Exception e)
{
Console.WriteLine(e.Source.ToString()+" “+e.Message.ToString()+” "+e.TargetSite.ToString());
}