I seem to be having a problem calculating the length of a text string. I tried the txtwidth() function and and fontmetric() function as shown in the txtwidth() help examle and I am getting nowhere. All I want to do is find the lenght of a string so I can auto size the box or command button it appears in.
As usual, many thanks to all who help.
John J. Henn.
Beer is proof that God loves man, and wants him to be happy. - Benjamin Franklin
John J. Henn