Change a variable value to Proper Case in VBA?
问题 I have a textbox, traditionally labeled as TextBox1, my TextBox1 accepts only Uppercase input (for names), but i'm using the same text to save the file in a folder, when i save i want the name of the person to be in Title case isntead, but I cant figure out how. Here is what i got so far (i dont know how to use strings, so pardon if there is some werid mistake): Private Sub CommandButton1_Click() Dim title As String title = TextBox1.Value Console.WriteLine (StrConv(title, VbStrConv.ProperCase