Jump to content

Align columns: Difference between revisions

Line 3,631:
NrSpaces = ColWidth(y) - len(LWord)
'left align
TextLeft = TextLeft + LWord + StringSpace$(NrSpaces +1, " ")
'Right align
TextRight = TextRight + StringSpace$(NrSpaces +1, " ") + LWord
'Center
TextCenter = TextCenter + StringSpace$(floor((NrSpaces)/2)+1, " ") + LWord + stringSpace$(Ceil((NrSpaces)/2), " ")
next
TextLeft = TextLeft + Newline
Cookies help us deliver our services. By using our services, you agree to our use of cookies.