I use word automation in my Vb6 app.
I use a textbox shape

VB Code:
  1. dim TBox as shaperange
  2. set tbox = Appword.selection.shaperange
  3. '-if one textbox shape is selected
  4. if tbox.count = 1 then
  5.  '-I want to get the highest fontsize, but more fonts can be used
  6.  tkFontSize = tbox.textframe.textrange.font.size
  7. end if

Now i only read the current fontsize, but if more fontsizes are used i want to know the highest fontsize.
I know i can loop through all the characters of the Textbox shape but is ther a faster and more efficient way? Is there a collection of the fontsizes of the textrange of the textbox?