Do strNewListItemName = InputBox("Please enter an account name.", "Enter new account name", SampleName) If strNewListItemName = "New Account name." Then MsgBox ("You need to change the default account input") ElseIf StrPtr(strNewListItemName) = 0 Then Exit Sub ElseIf strNewListItemName = "" Then MsgBox ("Can not be blank or use the default input text") ElseIf Len(strNewListItemName) > 30 Then MSG1 = MsgBox("Your account name exceeded 30 characters, try shortening the account name.", vbOKOnly + 48, "Warning, Error") End If Loop Until Len(strNewListItemName) < 31 And Not strNewListItemName = "New Account name." And Not strNewListItemName = ""
Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.
When asked, what has been your best career decision?
Deciding to stick with EE.
Being involved with EE helped me to grow personally and professionally.
Connect with Certified Experts to gain insight and support on specific technology challenges including:
We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE