+1 800 256 3608 (toll-free in North America) or +49 7531 90 60 10| service@combit.com

Offer TextWidth with just 1 parameter.

TextWidth function has two parameters. First “text” you want to measure, second is LOGFONT structure (probably modified by LL).

This is incredibly sofisticated for end user.

Sample now is:

TextWidth (value,"{(0,0,0),11,0,0,0,0,400,0,0,0,0,3,2,1,34,Arial}")

Desired behaviour (overloaded, two parameter version should be preserved):

TextWidth (value)

where font structure (LOGFONT) will be taken from actual cell’s font.

So if actual cell has Tahoma, 12 Pt, Italic. This will be used as second parameter. 

© combit GmbH