Hi KGunder,
I reply in english - if you want to have a german version, please pm me ;)
There's a function in VB-Forms to calculate a texts' width:
UserForm1.TextWidth(Text) as SingleSo first I calculated the length of the longest row.
After that I added so many blank spaces to all further rows, to get (nearly) the same text width.
You just have to know, where you want to insert the needed blank spaces into the texts.
Example:
(sorry, but I had to switch this block to code, to show the additional spaces...)
Hello my Name is Doumis. <-- TextWidth = 24 This is the longest row
Hello my Name is Anna. <-- TextWidth = 22 - 2 more blank spaces needed!
Hello my Name is Anna. <-- 2 additional blank spaces inserted in before the word Anna.
The text of my ToolTip contains always the same text and only the values at the end of the lines differ. So this solution works for me. Maybe it helps you, too :)
regards... Doumis