Multiple fonts in a single Word Table Cell (C#)

Sep 3, 2014 at 3:13 PM
I've seen a lot of VB examples where you specify a start and length to a range of a Word table cell, but how do you do that in C#? So far I have been able to edit the font in a cell but only 1 character at a time which gets really slow with a lot of text.

This works setting "position" in a little for loop but I'm sure is wildly inefficient not setting a whole range at a time:
table.Cell(row, column).Range.Characters[position].Font.Size = 10;
table.Cell(row, column).Range.Characters[position].Font.Bold = 1;
table.Cell(row, column).Range.Characters[position].Font.Italic = 0;
Nov 12, 2014 at 5:58 PM
Bump - This is still working great changing 1 character at a time, but its getting pretty slow for fields with a lot of text! Having trouble finding the equivalent of the Visual Basic style of specifying a range in C#.