Get text property in a word table using Vb.net WinForms -
i have vb.net application in winfoms can properties of cell in word tables. problem gets property of cell , not property per character.
for example, line below in single cell.
the quick
brownf ox
how can property of those?
you need range of each word (or character) , check font:
dim cell word.cell = tb.cell(row, col); dim cellrng word.range = cell.range;
you can loop each word way:
for each rngword word.range in cellrng.words if rngword.bold '... end if next
be sure add:
imports microsoft.office.interop
Comments
Post a Comment