English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

For my spreadsheet, I am having a check box with text that says 'I accept the following terms and conditions'. Below, there is a 'submit' command button. How can I make an alert pop up if the submit button is pressed but the check box is not ticked? Thanks in advance

2007-01-04 04:25:48 · 1 answers · asked by mikoashinakowu 2 in Computers & Internet Software

1 answers

put this code in the submit button at the top.

If checkbox1.checked = false then
msgbox ("you must check the box")
exit sub
end if

Adjust names and message to fit your program

2007-01-04 04:28:16 · answer #1 · answered by rod 6 · 0 0

fedest.com, questions and answers