Debug.Print(StrDup(5, "x")) Debug.Print("".PadRight(5, "x")) Debug.Print("".PadLeft(5, "x"))