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 brown f o x

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

Popular posts from this blog

google api - Incomplete response from Gmail API threads.list -

Installing Android SQLite Asset Helper -

Qt Creator - Searching files with Locator including folder -