Width of text

K

KenF26335

Is there a TextWidth kind of value in Word similar to VB so I can establish
the approximate width of a string of characters.
Ultimately I need to strip Tabs and replace with the nearest fit number of
spaces.
Any help appreciated.
 
J

Jezebel

No, there's no such value. The best you can do is print some test text (eg
|[10 spaces]| and measure it. What you get will be a function of font, size,
and printer. Not a good approach with proportional width fonts. Truly, there
is no way to get text to align this way, which is why nobody does it this
way.
 
Top