-
Hey guys. has anybody else tried this? it doesn't work.
strMessage = ""
for x = 1 to 5
strMessage = strMessage & vbCrLf & strArray(x)
For y = 1 to (70 - Len(strArray(x)))
strmessage = strMessage & " "
Next y
strMessage = strMessage & strArray2(x)
Next x
MsgBox(strMessage)
What is this for? It should take these 2 arrays and make even columns out of them. But it doesn't. The number of characters in the first array aren't always the same width and so the second column is not aligned.
Since I won't know what is going to print in this array, I can't "make" it line up.
Any thoughts?
Thanks
wengang
-
it works if u print it in the debug window....maybe there's a problem with the msgbox function???
[Edited by rammy on 09-21-2000 at 04:33 AM]
-
It's bacause a msgbox uses a proportional font i.e. a "W" is wider than a "i"