03-29-2023, 01:39 PM
(03-29-2023, 07:51 AM)mdijkens Wrote: Almost the same as what you posted:
Code: (Select All)c$ = Right$("0000" + Ltrim$(Str$((n)), 4)
Yep! Once again exactly how I would do it
And if used allot, generalize by making a function that does space or 0 or any other character, n times something like Steve has shown with a Pad$ function.
b = b + ...