I want to put a warning msg if the text boxes are empty

1 year ago 5 Replies
MW
Maneesha Wijawardana
1 year ago

Hello
I want to put a warning msg if the text boxes are empty
That i i want them in a one msg like
enter :
fruit
name
country
i do not want it msg preview one by one
i want a vba code
i will send this workbooks
Please help me

0 Likes

Replies

Kaye Celine Legaspi 1 year ago

Put if else condition then on the msgbox vbcritical

0 Likes
Kaye Celine Legaspi 1 year ago

Try this If “name of listbox” = 0 then Msgbox “reason”, vbCritical, “Title of box” Else Condition or flow End if

0 Likes
Con Kosteas 1 year ago

If me. Textbox1. Value =“” then msgbox

0 Likes
Biplab Das 1 year ago

Maneesha Wijawardana Do You want When You click then Show Msgbox of Lable Caption against Empty TextBox.. Right?

1 Like
Sree Kumar 1 year ago

Vba developer here. If you need code pm me. Thanks

0 Likes