Just wondering, is there any equivalent in VBA to VB .NET\'s PadLeft and PadRight methods?
As of right now, whenever I want to take a string and make it a fixed leng
You can also use fixed length strings in VBA:
Dim myString As String * 10 myString = "test" Debug.Print myString, "(" & Len(myString) & ")" '// Prints "test (10)"
although this is only useful for padding on the right.