emilemil22
New Member
- Joined
- Aug 18, 2019
- Messages
- 27
I am making a userform in excel using VBA.
I want whenver a textbox1 is left blank after clicking a save button a pop up window is trigerred saying "the textboox1 cannot be left blank"
I know how to do this
Function ValidateForm() As Boolean
ValidateForm = True
If Trim(a1.Value) = "" Then
MsgBox "Question number 1.1 can't be left blank.", vbOKOnly + vbInformation, "Name"
However, I want the MsgBox to be in another language (Russian), however when I write it in Russian in macros it simly appears as question marks "???????????" and respectvely in pop up window the message appears in question marks.
Does anyone have a solution for this?
Many thanks,
I want whenver a textbox1 is left blank after clicking a save button a pop up window is trigerred saying "the textboox1 cannot be left blank"
I know how to do this
Function ValidateForm() As Boolean
ValidateForm = True
If Trim(a1.Value) = "" Then
MsgBox "Question number 1.1 can't be left blank.", vbOKOnly + vbInformation, "Name"
However, I want the MsgBox to be in another language (Russian), however when I write it in Russian in macros it simly appears as question marks "???????????" and respectvely in pop up window the message appears in question marks.
Does anyone have a solution for this?
Many thanks,